litellm/litellm/router_rust
Jesus Velarde b3a361e648 fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted
A key or team restricted to an access group or a public model name got a 403 when the request named a deployment by its litellm_params.model, because every model access check keys by public name. Auth now admits such a name on the request path when the caller is granted at least one deployment it selects, and the router asks the proxy which of the deployments it resolved the caller may use, so the request is load balanced across the granted ones only.

The router core gets one host step, authorize_candidates, asked on every resolution of a request that names a deployment's litellm model for a keyed caller, and on a custom strategy's pre-routed pick. A caller left with no deployment gets the key model access denied 403 with no retry, fallback or passthrough. Dispatches in route_llm_request that skip the router refuse such a name when the caller could not have requested it in strict mode. Every other caller of the model gates keeps the strict default.
2026-11-26 03:17:39 -08:00
..
invoke fix(streaming): keep OpenRouter chunks that carry only reasoning_details (#48412) 2026-11-25 19:24:55 -08:00
steps fix(router): with pre-call checks on, retry a context window error on a group deployment serving another model (#54157) 2026-11-25 10:57:40 +00:00
surface refactor(types): type the params models' get and read keys and base URLs through a str-or-None helper (#54589) 2026-11-26 04:13:56 +00:00
__init__.py chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
core.py fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted 2026-11-26 03:17:39 -08:00
routing_stores.py refactor(router): count the whole router_usage family on the native store (#50862) 2026-11-13 03:22:28 +00:00