mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
Resolve conflicts in the MCP streaming iterator and its test after internal_staging removed the standalone follow_up_response phase (follow-ups now loop back through continue_initial_response with a round cap). Re-apply the failure-surfacing semantics on top of that flow: stash internal failures and emit a single terminal error event (or skip the doomed follow-up) instead of silently ending the stream, and set base_iterator to None on a stashed error so the new phase-4 loop stops. Union the two independently-added iterator test suites (round-cap loop plus error-surfacing) into one file, deduping shared helpers. |
||
|---|---|---|
| .. | ||
| test_configs | ||
| conftest.py | ||
| mcp_server.py | ||
| test_aresponses_api_with_mcp.py | ||
| test_mcp_auth_header_extraction.py | ||
| test_mcp_auth_priority.py | ||
| test_mcp_chat_completions.py | ||
| test_mcp_client_unit.py | ||
| test_mcp_guardrails.py | ||
| test_mcp_hooks.py | ||
| test_mcp_litellm_client.py | ||
| test_mcp_logging.py | ||
| test_mcp_server.py | ||
| test_oauth2_mcp_config.yaml | ||
| test_openapi_spec_path_url.py | ||
| test_per_user_oauth_cache.py | ||
| test_proxy_mcp_e2e.py | ||
| test_semantic_tool_filter_e2e.py | ||