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
Synchronous SSE never delivered an event.SSEClient and realtime(type="sse") had two stacked bugs, found by running them against the
production API: they entered httpx.Client.stream(...) by hand and dropped its
context manager, so the garbage collector closed the response straight away
("the stream has been closed"); and they passed iter_lines() to sseclient,
which needs raw bytes to find event boundaries and raised TypeError on the
first line. Both now use send(..., stream=True) and iter_bytes(), and AsyncSSEClient keeps its response open the same way. Verified live: job.created and job.completed arrive on all three clients.