Skip to main content

DEFAULT_CALL_TIMEOUT

Constant DEFAULT_CALL_TIMEOUT 

Source
pub const DEFAULT_CALL_TIMEOUT: Duration;
Expand description

Default timeout for CodexAppServerClient::call_request (and therefore every generated per-method wrapper). Override with CodexAppServerClient::with_call_timeout. This bounds one request/response round trip - it has nothing to do with how long a turn takes to finish generating, since that streams via crate::Event::Notification instead of blocking the request that started it.