caixypromise
|
1bb8fbd56f
|
resolve: merge upstream/main into feature/mcp-exit-fix and fix conflicts
|
2025-05-07 00:39:21 +08:00 |
|
kevin1sMe
|
8f266bea0d
|
feat: MCP server支持使用sse模式
|
2025-05-04 23:33:07 +08:00 |
|
caixypromise
|
0a765f4aac
|
fix(MCP): 重构MCPClient为后台协程 + AsyncExitStack管理,解决进程退出时的“Attempted to exit cancel scope in a different task”错误
# 变更
----
- 将所有stdio_client与ClientSession的创建/销毁都放到同一个后台 task 中
- 使用AsyncExitStack托管异步资源,cleanup时在同一task内执行exit_stack.aclose()
- 外部只通过事件通知后台task退出,避免跨协程调用cancel-scope异常
|
2025-05-04 23:27:47 +08:00 |
|
玄凤科技
|
31539294eb
|
调整mcp等待时间为15秒
|
2025-03-28 09:52:27 +08:00 |
|
玄凤科技
|
898fd36eca
|
增加mcp调用超时检测逻辑
|
2025-03-20 18:20:09 +08:00 |
|
玄凤科技
|
2b81ebca8e
|
调通mcp tool
|
2025-03-20 11:52:37 +08:00 |
|
玄凤科技
|
8504c181c0
|
mcp初步调试
|
2025-03-20 08:59:45 +08:00 |
|