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
mypy lint fixes
Ishaan Jaffer499c988d847d
diff --git a/litellm/proxy/auth/oauth2_proxy_hook.py b/litellm/proxy/auth/oauth2_proxy_hook.pyindex a1db5d842c4..a9003724636 100644--- a/litellm/proxy/auth/oauth2_proxy_hook.py+++ b/litellm/proxy/auth/oauth2_proxy_hook.py@@ -15,8 +15,8 @@ async def handle_oauth2_proxy_request(request: Request) -> UserAPIKeyAuth:verbose_proxy_logger.debug("Handling oauth2 proxy request")# Define the OAuth2 config mappingsoauth2_config_mappings: Dict[str, str] = general_settings.get(- "oauth2_config_mappings", None- )+ "oauth2_config_mappings", {}+ ) or {}verbose_proxy_logger.debug(f"Oauth2 config mappings: {oauth2_config_mappings}")if not oauth2_config_mappings: