Repository navigation
fix(router): eagerly fetch Vertex AI deferred stream to surface HTTP errors in _acompletion fallback path #34627
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
Merged
yassin-berriai
merged 25 commits into
BerriAI:litellm_internal_staging
from
deepanshululla:litellm_vertex_stream_fallback
Aug 4, 2026
Merged
Changes from 23 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
0f79f10
fix(router): eagerly fetch deferred stream to surface HTTP errors in …
ba98bd0
fix(router): undo success_calls on deferred-stream fetch failure; bro…
e891a7d
fix(router): extract header-strip helper to keep _acompletion under s…
6c1511c
test(router): add unit tests for _strip_http_framing_headers to satis…
a1c933d
test(router): add sync _completion_streaming_iterator re-raise test f…
c7edad8
fix(router): restore Fallbacks context in no-fallback log; document u…
c63123d
fix(router): preserve original traceback in deferred stream fetch err…
a1ada63
style(test): restore black-style formatting in test_router.py
c1f1269
fix(router): re-raise mid-stream fallback on any generated content, n…
74c24a0
test(router): add direct coverage for _stream_chunks_have_generated_c…
e9fc5e5
revert(ui): drop incidental schema.d.ts regeneration
f2d8006
fix(proxy): strip framing headers on the pre-existing ProxyException …
98955e0
chore: retrigger CI (no GitHub Actions check-suite was created for th…
caad18a
fix(router): detect thinking_blocks as generated content in mid-strea…
471c324
fix(proxy): strip browser-facing security headers from provider excep…
3c0f29d
refactor(router): address maintainer review mechanicals
a778d05
revert(router): pull mid-stream continuation-removal out of this PR
b7e0a8d
fix(proxy): re-filter unsafe headers after the response-headers hook …
e661229
Revert "revert(router): pull mid-stream continuation-removal out of t…
3f0f138
fix(router): detect reasoning_items as generated content in mid-strea…
ebc3845
fix(router): annotate _stream_chunks_have_generated_content with Sequ…
70e47f4
fix(router): surface original provider exception, not the internal wr…
2f251ac
chore: retrigger CI (frontend-lint cancelled, schema.d.ts flake)
9389358
Merge branch 'litellm_internal_staging' into litellm_vertex_stream_fa…
yassin-berriai 2d7a28a
chore: align with current litellm_internal_staging conventions
yassin-berriai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.