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): import UserNotFoundError in grants resolver from the types module
yassin336ead5106d6
diff --git a/litellm/proxy/auth/resolvers/grants.py b/litellm/proxy/auth/resolvers/grants.pyindex eb39d2a6812..cbfe21924ec 100644--- a/litellm/proxy/auth/resolvers/grants.py+++ b/litellm/proxy/auth/resolvers/grants.py@@ -28,11 +28,11 @@ from litellm.proxy._types import ()from litellm.proxy.auth.auth_checks import (TeamNotFoundError,- UserNotFoundError,get_team_membership,get_team_object,get_user_object,)+from litellm.types.proxy.auth.auth_checks import UserNotFoundErrorif TYPE_CHECKING:from litellm.proxy._types import Span