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
chore: ruff fix
Yuta Saito165081059a54
diff --git a/litellm/proxy/_experimental/mcp_server/server.py b/litellm/proxy/_experimental/mcp_server/server.pyindex 4e5c73be806..03652ae155e 100644--- a/litellm/proxy/_experimental/mcp_server/server.py+++ b/litellm/proxy/_experimental/mcp_server/server.py@@ -738,7 +738,7 @@ if MCP_AVAILABLE:return server_auth_header, extra_headers- async def _get_tools_from_mcp_servers(+ async def _get_tools_from_mcp_servers( # noqa: PLR0915user_api_key_auth: Optional[UserAPIKeyAuth],mcp_auth_header: Optional[str],mcp_servers: Optional[List[str]],diff --git a/litellm/responses/mcp/litellm_proxy_mcp_handler.py b/litellm/responses/mcp/litellm_proxy_mcp_handler.pyindex 7cc821f5e02..2419126fe2f 100644--- a/litellm/responses/mcp/litellm_proxy_mcp_handler.py+++ b/litellm/responses/mcp/litellm_proxy_mcp_handler.py@@ -479,7 +479,7 @@ class LiteLLM_Proxy_MCP_Handler:return result_text or "Tool executed successfully"@staticmethod- async def _execute_tool_calls(+ async def _execute_tool_calls( # noqa: PLR0915tool_server_map: dict[str, str],tool_calls: List[Any],user_api_key_auth: Any,