Skip to main content

DEFAULT_TIMEOUT

Constant DEFAULT_TIMEOUT 

Source
pub const DEFAULT_TIMEOUT: Duration;
Available on crate feature tool-loop only.
Expand description

How long one turn may take, request and whole response, by default.

A small local model on a CPU can take a minute over a long conversation; two is the bound past which the caller is better served by a failed task than by waiting.