mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
MCPEnhancedStreamingIterator only auto-executed one round of MCP tool calls. When a model retried a tool (e.g. after an error) in its follow-up turn, that second tool call was streamed but never executed, and the response ended with no final text. Route follow-up calls back through the same completion-check phase as the initial response, so further tool-call rounds are handled the same way, capped at MAX_MCP_TOOL_CALL_ROUNDS to avoid an unbounded loop. |
||
|---|---|---|
| .. | ||
| litellm_completion_transformation | ||
| mcp | ||
| test_metadata_codex_callback.py | ||
| test_no_duplicate_spend_logs.py | ||
| test_null_test_fix.py | ||
| test_responses_api_bridge_flag.py | ||
| test_responses_api_request_body.py | ||
| test_responses_prompt_management.py | ||
| test_responses_router_cooldown.py | ||
| test_responses_utils.py | ||
| test_responses_websocket_all_providers.py | ||
| test_sse_output_recovery.py | ||
| test_text_format_conversion.py | ||