Streaming HTTP - how do you *actually* stream tool responses? #429
Replies: 3 comments 2 replies
-
Exactly the same question here! I have tried to fiddle with the Context, but it crucially lacks a |
Beta Was this translation helpful? Give feedback.
-
"Streaming" HTTP is misleadingly named... it doesn't actually stream responses (at least at this time), it's just a persistent connection over which many request/response pairs can be sent. I hope that streamed responses are added to the spec at some point, but at this time tools return a single payload (at least according to protocol -- it seems like such a clear win that I'd love to find a way to support this as a superset capability) |
Beta Was this translation helpful? Give feedback.
-
@jlowin Isn't SSE capable of doing that? Why would they be replacing SSE with Streamable HTTP if that will no longer be possible? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
With the release of the Streaming HTTP protocol, I fully expected to be able to do this:
So far I'm only seeing examples where I can return a value. If I try the above, the client just receives:
Beta Was this translation helpful? Give feedback.
All reactions