mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-28 00:00:38 +00:00
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
|
||
|---|---|---|
| .. | ||
| .agents/skills | ||
| crates | ||
| docs/adrs | ||
| .gitignore | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| clippy.toml | ||