Problem with Stream response #1622
Replies: 1 comment 10 replies
-
Can you provide an MCVE of this without the httpx and SSE stuff? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following controller
and my
httpx_stream
function is:And the problem is that this works the right way about 90% of the time.
So most of the requests are coming like:
so one JSON object per HTTP chunk response (per yield).
But randomly it also comes like this:
So it seems sometimes it puts 2 yields on same HTTP chunk.
Any idea what's going on? Why it doesn't always respect one yield per chunk?
Beta Was this translation helpful? Give feedback.
All reactions