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(agents): import assert_never from typing_extensions for Python 3.10
yassin18c31e6fc6cb
diff --git a/litellm/proxy/agent_endpoints/auth/agent_permission_handler.py b/litellm/proxy/agent_endpoints/auth/agent_permission_handler.pyindex ea73d4634e3..4e022e48bb4 100644--- a/litellm/proxy/agent_endpoints/auth/agent_permission_handler.py+++ b/litellm/proxy/agent_endpoints/auth/agent_permission_handler.py@@ -8,7 +8,9 @@ Follows the same pattern as MCP permission handling.import asynciofrom collections.abc import Awaitable, Callable, Sequencefrom dataclasses import dataclass-from typing import Final, TypeAlias, assert_never+from typing import Final, TypeAlias++from typing_extensions import assert_neverfrom litellm._logging import verbose_loggerfrom litellm.proxy._experimental.mcp_server.ui_session_utils import build_effective_auth_contexts