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(auth): drop redundant cast on team_object in centralized checks
jesus8983eefea57e
diff --git a/litellm/proxy/auth/user_api_key_auth.py b/litellm/proxy/auth/user_api_key_auth.pyindex ced86318d7b..b4d8648c8a9 100644--- a/litellm/proxy/auth/user_api_key_auth.py+++ b/litellm/proxy/auth/user_api_key_auth.py@@ -2901,7 +2901,7 @@ async def _run_centralized_common_checks(await _inherit_org_identity(user_api_key_auth_obj=user_api_key_auth_obj,- team_object=cast(LiteLLM_TeamTableCachedObj | None, team_object),+ team_object=team_object,prisma_client=prisma_client,user_api_key_cache=user_api_key_cache,parent_otel_span=parent_otel_span,