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
litellm_fix(lint): remove unused ToolNameValidationResult imports (#20176)
shin-bot-litellm14f31a0df985
diff --git a/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py b/litellm/proxy/_experimental/mcp_server/mcp_server_manager.pyindex 0087bc05b25..5ae5b610805 100644--- a/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py+++ b/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py@@ -67,7 +67,6 @@ from litellm.types.utils import CallTypestry:from mcp.shared.tool_name_validation import ( # type: ignoreSEP_986_URL,- ToolNameValidationResult,validate_tool_name,)except ImportError:diff --git a/litellm/proxy/management_endpoints/mcp_management_endpoints.py b/litellm/proxy/management_endpoints/mcp_management_endpoints.pyindex 1e06c1eace4..3ba841f07fd 100644--- a/litellm/proxy/management_endpoints/mcp_management_endpoints.py+++ b/litellm/proxy/management_endpoints/mcp_management_endpoints.py@@ -60,7 +60,6 @@ except ImportError as e:if MCP_AVAILABLE:try:from mcp.shared.tool_name_validation import ( # type: ignore- ToolNameValidationResult,validate_tool_name,)except ImportError: