chore: drop source comment on sse_keepalive_ping_interval_seconds

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Devin AI 2026-08-07 03:28:10 +00:00
parent 8d6247c9c1
commit c597d3fabb

View file

@ -245,11 +245,6 @@ use_chat_completions_url_for_anthropic_messages: bool = bool(
# config.yaml.
strip_anthropic_total_tokens: bool = False
anthropic_sse_ping_interval_seconds: float = 15.0
# Emit an SSE comment (": ping") on OpenAI-shaped streaming routes (/chat/completions,
# /v1/responses, ...) whenever the upstream has sent nothing for this many seconds, so
# intermediaries with an idle read timeout (e.g. nginx `proxy-read-timeout`) don't drop
# long time-to-first-token streams. Disabled unless set, via
# `litellm_settings.sse_keepalive_ping_interval_seconds` in config.yaml.
sse_keepalive_ping_interval_seconds: float | None = None
route_all_chat_openai_to_responses: bool = (
os.getenv("LITELLM_ROUTE_ALL_CHAT_OPENAI_TO_RESPONSES", "false").lower() == "true"