Skip to main content

DEFAULT_REQUEST_TIMEOUT_SECS

Constant DEFAULT_REQUEST_TIMEOUT_SECS 

Source
pub const DEFAULT_REQUEST_TIMEOUT_SECS: u64 = 600;
Expand description

Default per-request HTTP timeout for OpenAi-style providers when request-timeout-secs is unset (see doc/reference/config.md). Generous enough not to truncate long reasoning completions, and above typical proxy timeouts so a client-side timeout never races a still-in-flight server request.