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(proxy): keep the team-admin field allow-list importable on python 3.10
ryan-crabbe-berri50f890d02d79
diff --git a/litellm/proxy/management_endpoints/team_admin_field_permissions.py b/litellm/proxy/management_endpoints/team_admin_field_permissions.pyindex 9ccacf9c54f..e26dd993e26 100644--- a/litellm/proxy/management_endpoints/team_admin_field_permissions.py+++ b/litellm/proxy/management_endpoints/team_admin_field_permissions.py@@ -3,10 +3,11 @@from collections.abc import Mappingfrom dataclasses import dataclassfrom types import MappingProxyType-from typing import Final, Literal, TypeAlias, assert_never+from typing import Final, Literal, TypeAliasfrom fastapi import HTTPExceptionfrom pydantic import TypeAdapter, ValidationError+from typing_extensions import assert_neverfrom litellm._logging import verbose_proxy_loggerfrom litellm.models.team import LiteLLM_TeamTablediff --git a/tests/test_litellm/proxy/auth/test_route_checks.py b/tests/test_litellm/proxy/auth/test_route_checks.pyindex ed319190a6b..2a6ba56a242 100644--- a/tests/test_litellm/proxy/auth/test_route_checks.py+++ b/tests/test_litellm/proxy/auth/test_route_checks.py@@ -3906,7 +3906,6 @@ def test_team_disable_logging_stays_proxy_admin_only():"route",["/team/06bda574-5ca9-43d3-beb8-3b23c2f17112",- "/team/update","/team/06bda574-5ca9-43d3-beb8-3b23c2f17112/model/add",],)