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 LiteLLM_JWTAuth annotations access bug
Julio Quinteros Pro90d61432cf50
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.pyindex 45476900a26..68d0ed2bb7a 100644--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@ -3776,7 +3776,7 @@ class LiteLLM_JWTAuth(LiteLLMPydanticObjectBase):def __init__(self, **kwargs: Any) -> None:# get the attribute names for this Pydantic model- allowed_keys = self.__annotations__.keys()+ allowed_keys = LiteLLM_JWTAuth.__annotations__.keys()invalid_keys = set(kwargs.keys()) - allowed_keysuser_roles_jwt_field = kwargs.get("user_roles_jwt_field")