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 get_key_object
Ishaan Jaff8bd2081dec15
diff --git a/litellm/proxy/auth/auth_checks.py b/litellm/proxy/auth/auth_checks.pyindex 9e711477068..dc0ec116f56 100644--- a/litellm/proxy/auth/auth_checks.py+++ b/litellm/proxy/auth/auth_checks.py@@ -996,7 +996,7 @@ async def get_key_object(if _valid_token is None:raise ProxyException(- message="Key doesn't exist in db. key={}. Create key via `/key/generate` call.".format(+ message="Invalid proxy server token passed. key={}, not found in db. Create key via `/key/generate` call.".format(hashed_token),type=ProxyErrorTypes.token_not_found_in_db,