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: format
Yuta Saitobcb26cc55aee
diff --git a/litellm/responses/mcp/litellm_proxy_mcp_handler.py b/litellm/responses/mcp/litellm_proxy_mcp_handler.pyindex 2a637893836..2eea28f6cc1 100644--- a/litellm/responses/mcp/litellm_proxy_mcp_handler.py+++ b/litellm/responses/mcp/litellm_proxy_mcp_handler.py@@ -638,9 +638,7 @@ class LiteLLM_Proxy_MCP_Handler:function_calls: List[Dict[str, Any]] = []for output_item in response.output:- if not isinstance(output_item, dict) and hasattr(- output_item, "model_dump"- ):+ if not isinstance(output_item, dict) and hasattr(output_item, "model_dump"):output_item = output_item.model_dump()if isinstance(output_item, dict):