Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问一下是怎么支持的当前最新的Streamable HTTP模式? #2001

Open
Zhaobudaoyuema opened this issue Apr 1, 2025 · 3 comments

Comments

@Zhaobudaoyuema
Copy link

在推文https://mp.weixin.qq.com/s/fDnOQA1jzOLZQJ5aVEIuvg中看到一下内容
在协议的传输层上,支持目前最多AI工具采用的POST+SSE模式,以及最新的Streamable HTTP模式。

请问一下是怎么支持的当前最新的Streamable HTTP模式?

@Jing-ze
Copy link
Collaborator

Jing-ze commented Apr 3, 2025

目前只支持Streamable HTTP协议的无状态服务,session相关的后续会支持

@Zhaobudaoyuema
Copy link
Author

没看明白,这个Streamable HTTP协议的无状态服务 最终提供的不就是无状态的链接?为啥说只支持无状态的,session相关的支持又是啥呀。
我有点迷,现在官方只有POST+SSE,是个有状态的链接。
然后官方要升级到Streamable HTTP,但是还没出代码。我看你们文章说已经支持了?

@johnlanni
Copy link
Collaborator

Streamable HTTP的MCP官方SDK目前还没有,我们是根据官方spec的协议实现的。可以看下 REST API MCPServer,就是支持的:https://higress.cn/ai/mcp-quick-start/?spm=36971b57.7beea2de.0.0.d85f20a9nVjyp6#%E9%85%8D%E7%BD%AE-rest-api-mcp-server

Streamable HTTP模式是不局限于无状态的,只是对无状态比较友好而已。目前Higress对有状态的Streamable HTTP模式还尚未支持。

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

No branches or pull requests

3 participants