litellm/litellm/router_utils
tin-berri 0dc23406eb
feat: add Laya gateway and OSS classifier providers (#43626)
* feat: add Laya gateway and classifier backend

* test: cover the pass-through model_group pin and repair the shard fakes

MockRequest in tests/pass_through_unit_tests gains an httpx.URL and an ASGI
scope, which get_request_route now reads inside
_init_kwargs_for_pass_through_endpoint, and the POST-only /laya/v1/systemone
route joins the protocol-constrained exemptions. A built-in pass-through pins
metadata.model_group to the resolved model so a client cannot choose its own
per-model budget key; test_pass_through_endpoints now proves that on a
non-Laya route and drops a duplicated assertion.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-02 11:29:36 -07:00
..
pre_call_checks fix(router): strip encrypted reasoning the pinned deployment cannot decrypt (#43781) 2026-09-30 09:56:27 -07:00
router_callbacks fix(router): count TPM/RPM usage before building rate-limit headers 2026-09-16 18:45:01 +00:00
access_windows.py feat(router): time-windowed team reservation of deployments via model_info.access_windows (#42398) 2026-09-22 13:22:15 -05:00
add_retry_fallback_headers.py feat(router): add group-scoped priority routing strategy (#42378) 2026-09-22 13:09:38 -07:00
auto_router_model_naming.py feat: add Laya gateway and OSS classifier providers (#43626) 2026-10-02 11:29:36 -07:00
auto_router_tuning_baseline.py feat(lint): add LIT013 flagging *-ok suppressions that suppress nothing and remove the 240 stale ones (#42793) 2026-09-23 17:50:09 -07:00
batch_utils.py feat(vertex): native batch JSONL passthrough with cost tracking (#42810) 2026-09-24 12:35:34 -07:00
client_initalization_utils.py feat(router): reject with 429 when a deployment's max_parallel_requests slots are all in use 2026-09-17 18:14:09 +00:00
clientside_credential_handler.py
common_utils.py fix(router): explain fallback outcome in plain words in the raised error (#42509) 2026-09-22 18:37:42 +00:00
cooldown_cache.py perf(router): fetch cooldown state and usage counters in one Redis round trip (#43320) 2026-09-29 13:52:20 -07:00
cooldown_callbacks.py
cooldown_handlers.py fix(router): limit cost poll cooldown exemption to provider 404s 2026-09-19 23:44:03 +00:00
fallback_event_handlers.py chore(lint): remove the LIT002 mutable-construction rule (#43971) 2026-10-01 12:24:02 -07:00
get_retry_from_policy.py fix(router): add NotFoundErrorRetries so a retry policy can pin 404 retries 2026-09-19 16:25:47 -07:00
handle_error.py
health_state_cache.py
pattern_match_deployments.py fix(router): match provider-prefixed fallback keys for bare model groups served by wildcard deployments (#43062) 2026-09-24 18:08:56 -07:00
prompt_caching_cache.py chore(lint): remove the LIT002 mutable-construction rule (#43971) 2026-10-01 12:24:02 -07:00
reasoning_effort_capability.py fix(mistral): never round reasoning_effort none onto the strength ladder 2026-09-18 12:22:34 -07:00
response_headers.py
routing_groups.py feat(router): add group-scoped priority routing strategy (#42378) 2026-09-22 13:09:38 -07:00
routing_read_batch.py chore(lint): remove the LIT002 mutable-construction rule (#43971) 2026-10-01 12:24:02 -07:00
search_api_router.py fix(types): drop restating docstrings, import search tool types at runtime, close the spend-table match 2026-09-21 13:44:58 -07:00