The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
chore(proxy): address greptile feedback on container routing helper
Sameer Kankute05d95fc15a27
diff --git a/litellm/proxy/container_endpoints/handler_factory.py b/litellm/proxy/container_endpoints/handler_factory.pyindex 60c98ca0a46..8b1740f177a 100644--- a/litellm/proxy/container_endpoints/handler_factory.py+++ b/litellm/proxy/container_endpoints/handler_factory.py@@ -63,11 +63,7 @@ def _get_deployment_credentials_for_model_id(model_id: Any) -> Dict[str, Any]:if deployment and deployment.litellm_params:return deployment.litellm_params.model_dump(exclude_none=True)- # Final fallback: lookup helper that supports provider-aware resolution.- deployment_creds = llm_router.get_deployment_credentials_with_provider(- model_id=str(model_id)- )- return deployment_creds or {}+ return {}def _load_endpoints_config() -> Dict:@@ -233,7 +229,7 @@ async def _process_binary_request(custom_llm_provider=custom_llm_provider,)- if decoded_model_id and not litellm_params.get("model_id"):+ if decoded_model_id:litellm_params["model_id"] = decoded_model_id# Resolve provider credentials for routed deployment, e.g. Azure multi-region api_base.