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
Fix black
Sameer Kankutee942ef6eea35
diff --git a/litellm/router.py b/litellm/router.pyindex 08a56e6abb5..ab92e1e24f3 100644--- a/litellm/router.py+++ b/litellm/router.py@@ -9338,10 +9338,7 @@ class Router:if pattern_deployments:return model, pattern_deployments- if (- request_team_id is not None- and request_team_id in self.team_pattern_routers- ):+ if request_team_id is not None and request_team_id in self.team_pattern_routers:pattern_deployments = self.team_pattern_routers[request_team_id].get_deployments_by_pattern(