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(mcp): import assert_never from typing_extensions for Python 3.10
Tin Chi Lo0e6ed18bfca9
diff --git a/litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py b/litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.pyindex 998aa4846c6..d1d48ca7362 100644--- a/litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py+++ b/litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py@@ -1,11 +1,12 @@import refrom datetime import datetime, timezone-from typing import Dict, List, Optional, Set, Tuple, assert_never, cast+from typing import Dict, List, Optional, Set, Tuple, castfrom fastapi import HTTPExceptionfrom starlette.datastructures import Headersfrom starlette.requests import Requestfrom starlette.types import Scope+from typing_extensions import assert_neverfrom litellm._logging import verbose_loggerfrom litellm.proxy._experimental.mcp_server.outbound_credentials.bridge_credentials import (