litellm/litellm/router_strategy
devin-ai-integration[bot] 95b438013a
fix(router): fall back from unhealthy auto-router tier (#40757)
* fix(router): fall back from unhealthy auto-router tier

Co-Authored-By: Claude Code <noreply@anthropic.com>
(cherry picked from commit 00c7fd8376)

* fix(router): treat budget and tag exhaustion as a no-capacity verdict

The eligibility probe only read typed router errors as "nothing here can
serve this". Provider and deployment budget exhaustion, and tag routing
with no matching deployment, report it as a bare ValueError carrying a
RouterErrors marker, so the probe read a spent tier as live, skipped the
peer and default recovery, and failed the request.

---------

Co-authored-by: Tin Chi Lo <tin@berri.ai>
Co-authored-by: Claude Code <noreply@anthropic.com>
2026-09-11 11:51:55 -07:00
..
adaptive_router fix(router): fall back from unhealthy auto-router tier (#40757) 2026-09-11 11:51:55 -07:00
auto_router address review: trim remaining comment verbosity 2026-09-05 15:43:03 -07:00
complexity_router fix(router): fall back from unhealthy auto-router tier (#40757) 2026-09-11 11:51:55 -07:00
quality_router refactor(typing): replace Any with proven types in 65 backend files 2026-09-02 09:11:36 +00:00
base_routing_strategy.py fix(router): keep the routing and budget sync loops quiet while the Redis breaker is open 2026-09-10 19:15:40 -07:00
budget_limiter.py fix(router): keep the budget push off the request callback path 2026-09-10 19:26:28 -07:00
lar1_routing.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
least_busy.py fix(redis): log an open circuit breaker once instead of a traceback per request and count sync timeouts as timeouts 2026-09-10 13:50:34 -07:00
lowest_cost.py fix(router): give cost-based routing its own cache key so it stops overwriting latency samples (#40225) 2026-09-08 13:56:06 -07:00
lowest_latency.py feat(router): support percentile-based TTFT routing (#40352) 2026-09-09 10:47:34 -07:00
lowest_tpm_rpm.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
lowest_tpm_rpm_v2.py fix(cache): use sync Redis batch reads (#39358) 2026-09-03 14:37:48 -07:00
savings_baseline.py fix(spend): remove the proxy-wide autorouter savings baseline override (#38700) 2026-08-28 14:53:27 -07:00
simple_shuffle.py fix(router): let simple-shuffle weight by any deployment's weight/rpm/tpm (#40222) 2026-09-08 13:55:36 -07:00
tag_based_routing.py fix(router): keep deployment tags out of retry and fallback tag routing (#40226) 2026-09-08 21:15:36 +00:00