agentscope-ai / agentscope-ai/agentscope

[Bug]: Need update streamablehttp_client to streamable_http_client

未关闭
#1,392 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
stale-issue
主要语言
Python
星标
31.6k
派生
3.5k
平均合并
1 天 16 小时
30 天内合并 PR
103

描述

我在使用本地MCP Server时使用Streamable HTTP发现MCP那边已经将streamablehttp_client函数变成了streamable_http_client。

参见:https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/streamable_http.py#L519

from mcp.client.streamable_http import streamablehttp_client (deprecated)
from mcp.client.streamable_http import streamable_http_client (new)

see: agentscope/src/agentscope/mcp/_http_stateless_client.py (stateful的client同理)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。