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
fixed user id
shivamef25ecb68eaf
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.pyindex 48e0c32880b..099c4543362 100644--- a/litellm/proxy/management_endpoints/key_management_endpoints.py+++ b/litellm/proxy/management_endpoints/key_management_endpoints.py@@ -3760,7 +3760,7 @@ async def list_keys(else:admin_team_ids = None- if user_id is None and user_api_key_dict.user_role not in [+ if not user_id and user_api_key_dict.user_role not in [LitellmUserRoles.PROXY_ADMIN.value,LitellmUserRoles.PROXY_ADMIN_VIEW_ONLY.value,]: