-
-
Notifications
You must be signed in to change notification settings - Fork 160
[Platform] Streamline RawHttpResult for streaming
#1191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[Platform] Streamline RawHttpResult for streaming
#1191
Conversation
RawHttpResult for streaming
|
Can you please rebase? |
9ac792b to
1645be2
Compare
done. The workflow errors are not related to my changes... |
|
Lets merge #1204 first, rebase and adjust the testcase |
This PR was merged into the main branch. Discussion ---------- [Platform] Add test for `RawHttpResult` | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | -- | License | MIT Should be merged before #1191 Commits ------- ff0ec93 [Platform] Add test for RawHttpResult
|
I merged my PR, can you please update the test? thanks |
Fix: - Skip SSE comments - Skip SSE errors - Drop manual JSON convert process - Use JSON decode from the ServerSentEvent
1645be2 to
dcdb2cb
Compare
Re add the Google specific changes but split a real SSE and a Data chunk in two processes.
|
Can you cover this by tests? |
|
Hey @OskarStark Others have also problems with the API specific behavior of google: googleapis/python-genai#1162 |
|
Please have a look as well at #754 and my latest comment there - not in conflict I think, but related |
Fix:
: OPENROUTER PROCESSINGhttps://openrouter.ai/docs/api/reference/streaming#additional-information