You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use iter_content instead of iter_lines for SSE stream parsing
iter_lines() buffers entire response before yielding, causing 0 lines
to be read from long-running agentic tool streams. Changed to:
- iter_content(chunk_size=None) for raw streaming
- Manual line splitting with buffer
- Break immediately when result found (agentic tools return single result)
This allows processing SSE events as they arrive instead of waiting
for stream completion.
0 commit comments