modelcontextprotocol / modelcontextprotocol/java-sdk
Would love to be able to provide a log print about the URL request
未关闭
还没有人认领这个 Issue。
question
- 主要语言
- Java
- 星标
- 3.7k
- 派生
- 1.1k
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 9
描述
Most of the interface documentation provides url's that carry path parameters, and while I was unable to observe how java-sdk splices them, they uniformly return the error。
error:Failed to wait for the message endpoint
"https://open.bigmodel.cn/api/mcp/web_search/sse?Authorization="+zhipuaiApiKey
How do I write the above url?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,使用 issue 中显示的 Authorization 值重现对文档所述 web_search SSE endpoint 的请求,然后跟踪 Java SDK 如何构造该 URL。当请求在没有出现所报告的 "Failed to wait for the message endpoint" 错误的情况下到达 message endpoint,并且正确的 URL 使用方式已记录或验证时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100