Avatar for the BerriAI user
BerriAI
litellm
BlogDocsChangelog

Performance History

Latest Results

fix(streaming): guard against empty choices in raise_on_model_repetition Vertex AI Gemini Flash/Flash Lite models emit metadata-only chunks with empty choices=[] during web_search streaming. The raise_on_model_repetition method unconditionally accessed choices[0] on the last two chunks, causing an IndexError that surfaced as MidStreamFallbackError. Add a guard to return early when either of the two most recent chunks has no choices. Fixes #27928
sharziki:fix/27928-streaming-empty-choices-crash
4 minutes ago
fix(router): isolate retry previous_models metadata
glaziermag:fix-issue-24965
1 hour ago

Latest Branches

CodSpeed Performance Gauge
0%
fix(streaming): guard against empty choices in raise_on_model_repetition#27974
6 minutes ago
4548fda
sharziki:fix/27928-streaming-empty-choices-crash
CodSpeed Performance Gauge
0%
19 minutes ago
0a7c50c
sharziki:fix/27956-ollama-generate-thinking-field
CodSpeed Performance Gauge
0%
2 hours ago
e6ad59d
Ausoj:fix/handle-empty-choices-in-streaming
© 2026 CodSpeed Technology
Home Terms Privacy Docs