Skip to main content

DEFAULT_OPENROUTER_CHAT_TIMEOUT_SECS

Constant DEFAULT_OPENROUTER_CHAT_TIMEOUT_SECS 

Source
pub const DEFAULT_OPENROUTER_CHAT_TIMEOUT_SECS: u64 = 600;
Expand description

Default per-item budget, in seconds, for an OpenRouter chat-completion when --openrouter-timeout is omitted.

GAP-SG-17: raised from 300 to 600 because dense bodies (close to the ~32K token context ceiling of the configured model) routinely take longer than five minutes to generate via deepseek-v4-flash:nitro.