litellm/litellm-rust
yujonglee 0b0a1e8e02 fix(router): fall back by the group a pick was routed to, whatever fails after the reroute (#52510)
A pre-routing hook can reroute a request to another group, or bind it to the group it is served for. A failed attempt on the picked deployment already named both groups, so the fallbacks were looked up by them. A failure before a deployment was picked named neither: nothing healthy in the routed group, a filter that raised, or a routing group that is gone. The fallbacks were then looked up by the requested name and the routed group's own chain was skipped.

The pick now stamps both groups on every failure that follows the reroute, in one place, as the Python router records the hook's selection before it resolves the group.

(cherry picked from commit 0582a32b59)
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-20 15:54:25 +00:00
..
.agents/skills feat(redis): extend the native Redis foundation for the store families (#50169) 2026-11-06 12:30:07 +09:00
crates fix(router): fall back by the group a pick was routed to, whatever fails after the reroute (#52510) 2026-11-20 15:54:25 +00:00
docs/adrs docs(rust): add ADRs for the Rust core (#45205) 2026-10-08 10:21:56 -07:00
.gitignore feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
AGENTS.md feat(redis): extend the native Redis foundation for the store families (#50169) 2026-11-06 12:30:07 +09:00
Cargo.lock fix(redis): share one native circuit breaker between RedisCache and the Rust stores (#50473) 2026-11-07 17:50:06 +09:00
Cargo.toml feat(redis): extend the native Redis foundation for the store families (#50169) 2026-11-06 12:30:07 +09:00
clippy.toml build(rust): upgrade reqwest to 0.13 and move MCP out of litellm-http (#48039) 2026-10-28 07:32:40 -07:00