-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hate to be that guy flooding an OSS project with his AI slop 😜 , but thought I would surface this as a potential bug.
i3x-client 0.1.5 SSE streaming is broken with httpx 0.28 (BoundSyncStream has no iter_text()). We work around this by using sync_subscription() polling instead of client.subscribe(). Monitor for a fix in a future i3x-client release.
when pressed on it some more for more info and to confirm the bug. Claude got a little indignant lol.
The bug is clear:
- SSE connection succeeds — the server accepts GET /subscriptions/15/stream with HTTP 200
- Crash happens client-side — i3x/_sse.py calls response.stream.iter_text(), but BoundSyncStream dropped iter_text() in httpx 0.28; the method only exists on the Response object itself (response.iter_text())
- One-line fix in the library: response.stream.iter_text() → response.iter_text() in i3x/_sse.py:86
When I get a chance to do some more testing I will try and follow this up with a better investigation as to what is going on but for now leaving this as a note there may be an issue.
repo where I ran into this bug: https://github.com/richardphi1618/i3x_prometheus
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels