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: add linting
Krrish Dholakia6589c924c81d
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.pyindex 29d3024fd8e..7f71f38f854 100644--- a/litellm/proxy/management_endpoints/key_management_endpoints.py+++ b/litellm/proxy/management_endpoints/key_management_endpoints.py@@ -645,8 +645,8 @@ def check_team_key_model_specific_limits(if data.model_rpm_limit is None and data.model_tpm_limit is None:return# get total model specific tpm/rpm limit- model_specific_rpm_limit = {}- model_specific_tpm_limit = {}+ model_specific_rpm_limit: Dict[str, int] = {}+ model_specific_tpm_limit: Dict[str, int] = {}for key in keys:if key.metadata.get("model_rpm_limit", None) is not None: