mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Both surfaces wrote zero bytes for the whole time-to-first-token, so an intermediary with an idle read timeout drops a healthy connection before the first token. They reached neither keepalive engine, which is what #37322 left open. The streaming assistants run spends that wait inside the awaited call that produces its response, since create_response buffers the first chunk, so it takes the same open_sse_before_first_byte seam the native routes use. The A2A route only contacts the upstream agent once its body iterator is first pulled, so nothing is awaited before the response exists and the gap has to be filled from inside the stream instead; wrap_sse_stream_with_keepalive_pings already does that and now takes the filler as a parameter, so A2A gets an SSE comment its JSON-RPC clients discard rather than Anthropic's ping event. Off until an operator sets litellm_settings.sse_keepalive_ping_interval_seconds. |
||
|---|---|---|
| .. | ||
| auth | ||
| __init__.py | ||
| test_a2a_endpoints.py | ||
| test_a2a_version_e2e.py | ||
| test_agent_header_isolation.py | ||
| test_agent_headers.py | ||
| test_agent_registry.py | ||
| test_databricks_oauth.py | ||
| test_endpoints.py | ||
| test_model_list_helpers.py | ||