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 code quality check
Ishaan Jaff9cb02513b4f8
diff --git a/litellm/proxy/auth/auth_checks.py b/litellm/proxy/auth/auth_checks.pyindex dcc1c5e90f5..8d504c7393b 100644--- a/litellm/proxy/auth/auth_checks.py+++ b/litellm/proxy/auth/auth_checks.py@@ -720,7 +720,7 @@ async def get_key_object(return _responseexcept httpx.ConnectError as e:return await _handle_failed_db_connection_for_get_key_object(e=e)- except Exception as e:+ except Exception:raise Exception(f"Key doesn't exist in db. key={hashed_token}. Create key via `/key/generate` call.")