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
Base commit
yuneng-jiange0ef4fa8f2da
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.pyindex 8ea3122ce01..b78f644c9b0 100644--- a/litellm/proxy/management_endpoints/key_management_endpoints.py+++ b/litellm/proxy/management_endpoints/key_management_endpoints.py@@ -2343,7 +2343,7 @@ async def delete_verification_tokens(user_api_key_dict: UserAPIKeyAuth,) -> Tuple[Optional[Dict], List[LiteLLM_VerificationToken]]:"""- Helper that deletes the list of tokens from the database+ Helper that deletes the list of tokens from the database.- check if user is proxy admin- check if user is team admin and key is a team key