modelcontextprotocol / modelcontextprotocol/java-sdk

Would love to be able to provide a log print about the URL request

未关闭
#286 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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?

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 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

把新 issue 发到你的邮箱

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