v0.10.5

Timeouts and Limits

Last updated


The request timeouts and response read caps the library applies.

Values


ItemValueSource
Request timeout15 minutesllmrouter.TimeoutHTTPLong, via NewHTTPClient / NewStreamHTTPClient
Response-header timeout15 secondsllmrouter.TimeoutHTTPShort, via NewStreamHTTPClient (codex, grok-oauth, Codex / Grok OAuth requests)
Model listing / usage query timeout15 secondsllmrouter.TimeoutHTTPShort inside each HTTP-based Models / Usage; claudeCode runs the CLI with no timeout of its own
Stream idle / repetition watchdog3 failed probes, first at 30 s then every 10 s (50 s total); Gemini first probes at 10 minutesllmrouter.WatchIdle / SetIdleWindow, see Streaming
Device code login waitUp to 10 minutes, polling every 5 s unless the server sets an intervalllmrouter.TimeoutWait / IntervalBackoff, see OAuth Tokens
Gemini voice summary5 minutessummary.VoiceReply
Non-streamed audio body cap64 MiB; SSE streams are not cappedllmrouter.StreamBodyLimit
Error body cap8 KiBllmrouter.ErrorBodyLimit


中文