Skip to content

feat(sessions): list_sessions 支持 user_id 为 None 时获取app_name下所有 session#143

Closed
weimch wants to merge 1 commit into
trpc-group:mainfrom
weimch:feature/minchang_dev
Closed

feat(sessions): list_sessions 支持 user_id 为 None 时获取app_name下所有 session#143
weimch wants to merge 1 commit into
trpc-group:mainfrom
weimch:feature/minchang_dev

Conversation

@weimch

@weimch weimch commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

list_sessions 的 user_id 参数改为可选,传 None 时返回指定 app 下
所有用户的会话列表(不含 events)。InMemory/SQL/Redis/EvalSessionService 实现统一调整,并补充中英文文档用法说明及单元测试。

@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.96970% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@778ca59). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...c_agent_sdk/sessions/_in_memory_session_service.py 94.44444% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main        #143   +/-   ##
==========================================
  Coverage        ?   87.51874%           
==========================================
  Files           ?         467           
  Lines           ?       44018           
  Branches        ?           0           
==========================================
  Hits            ?       38524           
  Misses          ?        5494           
  Partials        ?           0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@weimch weimch force-pushed the feature/minchang_dev branch from 87fdcaa to e1c76a7 Compare July 8, 2026 07:27
list_sessions 的 user_id 参数改为可选,传 None 时返回指定 app 下
所有用户的会话列表(不含 events)。InMemory/SQL/Redis/EvalSessionService
实现统一调整,并补充中英文文档用法说明及单元测试。
@weimch weimch force-pushed the feature/minchang_dev branch from e1c76a7 to 0b0d5a3 Compare July 8, 2026 07:43
@weimch weimch closed this Jul 8, 2026
@weimch weimch reopened this Jul 8, 2026
@weimch weimch closed this Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant