litellm/litellm
Yujong Lee e60aed4ff2 fix(router): keep the fallback chain's tried targets when a stream fails
A fallback chain skips a target it already tried, but the list of tried targets
lived only in the walk that built it. The walk that takes a failed stream over
started with an empty list, so a dict fallback target whose stream failed before
content was called again until max_fallbacks ran out, and the target after it in
the chain was never reached. A named target was spared only because the walk
also skips the level's own group by name.

The stream's origin now carries what its chain had tried, and a take-over goes on
from that list.
2026-11-23 11:39:04 +09:00
..
a2a_protocol refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
accounting feat(proxy): add app groups with shared budgets and usage (#53232) 2026-11-21 12:50:58 -08:00
anthropic_interface refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
assistants refactor(typing): clear 1141 basedpyright Any errors across 182 files (#50711) 2026-11-11 22:11:47 +00:00
batch_completion refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
batches refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
caching fix(caching): prevent duplicate success logging on cache hits (#52852) 2026-11-22 00:14:05 +00:00
chat_completions fix(rust): run native async calls through python's async wrapper steps (#50423) 2026-11-10 00:24:20 +00:00
cli refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
completion_extras feat(vertex_ai): add Meta Muse models on Vertex AI (#50768) 2026-11-21 13:00:24 -08:00
compression refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
containers refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
decisions fix(decisions): keep systemone confidence, extra fields and proxy cost on litellm_proxy calls (#53195) 2026-11-21 12:47:10 -08:00
deploy feat(docker): install cryptography, grpcio and libpq from chainguard apks in the fips image (#52997) 2026-11-20 15:58:28 -08:00
embeddings fix(rust): run native async calls through python's async wrapper steps (#50423) 2026-11-10 00:24:20 +00:00
endpoints/speech/speech_to_completion_bridge feat(accounting): capture request usage through the durable meter (#49133) 2026-10-31 07:32:25 -07:00
enterprise fix(proxy): read audit update rows stored before #50929 in GET /audit (#53305) 2026-11-21 04:58:51 +00:00
evals
experimental_mcp_client
extraction
files refactor(vertex_ai): remove unreachable VertexAIFilesHandler.afile_content (#51966) 2026-11-15 13:54:05 -08:00
fine_tuning refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
google_genai refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
harness fix(harness)!: preserve unknown costs across agent sessions (#53455) 2026-11-21 22:34:36 +00:00
images feat(provider)!: add ResetData and stop sending OPENAI_API_KEY to keyless JSON-configured providers (#50819) 2026-11-20 22:20:25 -08:00
integrations fix(ui): restore Lens onboarding and configured launch links (#53534) 2026-11-21 23:02:18 -08:00
interactions refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
litellm_core_utils feat(realtime)!: serve GPT-Live over WebRTC with sideband attach, and bill WebRTC calls from a proxy sideband (#53282) 2026-11-21 22:49:26 -08:00
llms feat(realtime)!: serve GPT-Live over WebRTC with sideband attach, and bill WebRTC calls from a proxy sideband (#53282) 2026-11-21 22:49:26 -08:00
mcp_client fix(mcp): return an upstream -32042 URL elicitation error from /mcp as a JSON-RPC error (#52384) 2026-11-19 08:56:01 -08:00
messages feat(messages): serve bedrock claude_platform messages on rust only (#52681) 2026-11-19 14:34:02 -08:00
models feat(skills): export download history as streamed CSV (#52569) 2026-11-21 21:14:46 +00:00
ocr fix(rust): run native async calls through python's async wrapper steps (#50423) 2026-11-10 00:24:20 +00:00
packaging fix(packaging): ship the license public key in the litellm-proxy sdist (#52970) 2026-11-19 23:18:32 +00:00
passthrough refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
proxy feat(realtime)!: serve GPT-Live over WebRTC with sideband attach, and bill WebRTC calls from a proxy sideband (#53282) 2026-11-21 22:49:26 -08:00
proxy-extras feat(proxy): add app groups with shared budgets and usage (#53232) 2026-11-21 12:50:58 -08:00
proxy_auth
rag refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
realtime_api feat(realtime)!: serve GPT-Live over WebRTC with sideband attach, and bill WebRTC calls from a proxy sideband (#53282) 2026-11-21 22:49:26 -08:00
redis feat(proxy): add app groups with shared budgets and usage (#53232) 2026-11-21 12:50:58 -08:00
repositories feat(skills): export download history as streamed CSV (#52569) 2026-11-21 21:14:46 +00:00
rerank_api refactor(typing): clear 1141 basedpyright Any errors across 182 files (#50711) 2026-11-11 22:11:47 +00:00
responses feat(gemini): support Gemini Live Avatar on Vertex AI realtime (#53270) 2026-11-21 15:06:59 -08:00
router_rust fix(router): decline a stream continuation that would send a dict target's params 2026-11-23 11:22:41 +09:00
router_strategy feat(lens): strip agent harness context from what the gateway sends Lens (#53226) 2026-11-21 12:16:58 -08:00
router_utils fix(router): decline a stream continuation that would send a dict target's params 2026-11-23 11:22:41 +09:00
runtime fix(gateway): honor the configured Postgres connection cap (#52729) 2026-11-19 04:10:10 +00:00
rust fix(router): keep the fallback chain's tried targets when a stream fails 2026-11-23 11:39:04 +09:00
rust_bridge fix(router): decline a stream continuation that would send a dict target's params 2026-11-23 11:22:41 +09:00
sandbox
scripts feat(lens): show the Lens UI served by the connected Lens in the dashboard (#53473) 2026-11-21 19:55:54 -08:00
search fix(tavily): price the search depth chosen automatically (#52564) 2026-11-18 13:04:12 -08:00
secret_managers refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
skills refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
systemone
telemetry
text_completions fix: keep LiteLLM-internal params out of provider request bodies (#46083) 2026-11-16 22:20:05 -08:00
types feat(realtime)!: serve GPT-Live over WebRTC with sideband attach, and bill WebRTC calls from a proxy sideband (#53282) 2026-11-21 22:49:26 -08:00
ui fix(ui): restore Lens onboarding and configured launch links (#53534) 2026-11-21 23:02:18 -08:00
vector_store_files
vector_stores refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
videos refactor(typing): clear 1141 basedpyright Any errors across 182 files (#50711) 2026-11-11 22:11:47 +00:00
vscode-extension chore: move ui and vscode-extension under litellm and delete docs (#50992) 2026-11-12 04:19:57 +00:00
__init__.py feat(gradium): add text-to-speech support for /v1/audio/speech (#46427) 2026-11-21 23:51:27 +00:00
_internal_context.py refactor(redis): delete the Python RedisBatch now that every request op is native (#51383) 2026-11-13 03:22:28 +00:00
_lazy_imports.py refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
_lazy_imports_registry.py feat(harness): compare custom agents with supported harnesses (#53381) 2026-11-21 21:08:36 +00:00
_logging.py feat(control_plane): --control-plane flag serves the control plane API from the existing image (#49658) 2026-11-16 17:36:24 +00:00
_process_defaults.py
_redis.py fix(redis): drop ssl_ kwargs from the async pool when ssl is off (#52344) 2026-11-17 13:23:34 -08:00
_redis_credential_provider.py
_service_logger.py refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
_uuid.py
_version.py
anthropic_beta_gated_fields.py fix(anthropic)!: send extra_body fields at the top level of the Messages request (#48373) 2026-11-20 06:52:56 -08:00
anthropic_beta_headers_config.json fix(bedrock): forward the compact-2026-09-04 compaction param on Invoke /v1/messages (#51223) 2026-11-11 15:10:32 -08:00
anthropic_beta_headers_manager.py fix(messages): load the anthropic beta map only when a filter has a beta to filter (#52188) 2026-11-16 20:03:08 -08:00
blog_posts.json chore(blog): refresh the bundled blog posts backup with the latest 50 posts from the docs RSS feed (#49971) 2026-11-03 23:41:15 +00:00
budget_manager.py refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
constants.py feat(provider)!: add ResetData and stop sending OPENAI_API_KEY to keyless JSON-configured providers (#50819) 2026-11-20 22:20:25 -08:00
cost.json
cost_calculator.py feat(realtime)!: serve GPT-Live over WebRTC with sideband attach, and bill WebRTC calls from a proxy sideband (#53282) 2026-11-21 22:49:26 -08:00
exceptions.py feat(guardrails): hold streamed tool calls for the verdict and log prompts blocked with a reply (#51872) 2026-11-20 16:58:15 -08:00
guardrails.py Add guardrails.apply SDK helper (#49217) (#49469) 2026-10-31 23:37:45 +00:00
main.py fix(timeout): preserve split limits for shared httpx completions (#53391) 2026-11-21 17:39:32 -08:00
model_prices_and_context_window_backup.json feat(gradium): add text-to-speech support for /v1/audio/speech (#46427) 2026-11-21 23:51:27 +00:00
policy_templates_backup.json
provider_endpoints_support_backup.json feat(gradium): add text-to-speech support for /v1/audio/speech (#46427) 2026-11-21 23:51:27 +00:00
py.typed
router.py refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
router_api.py refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
router_attempt.py refactor(router): delete the python router core, the rust core is the only core (#50178) 2026-11-05 10:40:46 -08:00
router_config.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
router_core.py chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
router_deprecated.py refactor(router): delete router code nothing calls (#52516) 2026-11-19 06:11:10 +09:00
router_host.py refactor(router): move router callers onto the entry points and invert the proxy imports (#48847) 2026-10-29 17:26:33 +00:00
router_python_host.py feat(router): queue congested provider requests by priority (#51892) 2026-11-17 21:26:21 -08:00
scheduler.py fix(scheduler): read shared queue from Redis so expired dead-replica entries stop blocking waiters (#49387) 2026-10-31 11:43:46 -07:00
schema.prisma feat(proxy): add app groups with shared budgets and usage (#53232) 2026-11-21 12:50:58 -08:00
setup_wizard.py
timeout.py
tool_loop.py fix(tool_choice): accept the Responses API's flat allowed_tools layout on chat completions (#50467) 2026-11-10 13:04:06 -08:00
utils.py fix(caching): prevent duplicate success logging on cache hits (#52852) 2026-11-22 00:14:05 +00:00