mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
A deployment that carries one provider's credentials while resolving to another is silently broken: litellm ignores the credentials and sends the request to the resolved provider. The common shape is a Bedrock model group where one entry lost its route prefix, so `model: claude-sonnet-5` with aws_region_name set resolves to the first-party Anthropic API and returns "x-api-key header is required". Because the router load balances across the group, only the fraction of requests routed to that entry fails, which reads as an intermittent provider outage rather than a config error, and nothing at startup says otherwise. Warn at deployment registration when provider-scoped credential params (aws_*, vertex_*) sit on a model that resolves elsewhere, naming the params, the resolved provider, and the likely missing prefix. Warn only: an operator may be overriding a route deliberately, so this must not block startup. Deployments litellm cannot classify are left alone. Resolves LIT-5391 |
||
|---|---|---|
| .. | ||
| pre_call_checks | ||
| test_add_retry_fallback_headers.py | ||
| test_auto_router_model_naming.py | ||
| test_cooldown_cache.py | ||
| test_cooldown_handlers.py | ||
| test_fallback_event_handlers.py | ||
| test_health_check_allowed_fails_integration.py | ||
| test_health_state_cache.py | ||
| test_router_health_check_routing.py | ||
| test_router_interactions_endpoints.py | ||
| test_router_utils_common_utils.py | ||