8000
[Bug]:
8000
message/stream
does not stream properly
#111
Uh oh!
There was an error while loading. Please reload this page.
What happened?
I was trying to get streaming through SSE working, and it didn't work properly.
I wrote a simple ADK agent executor:
When testing the app with
curl
:I can see the very first chunk of response appear immediately:
Then, the response is buffered and all the chunks are returned at the same time after a few seconds.
The solution, is to sleep small amount of time in the
async for event in self.runner.run_async
loop:Only then, the response chunks started to show up one after another.
I don't think that's the right solution though :)
Related discussion:
#79
Code of Conduct
The text was updated successfully, but these errors were encountered: