Skip to main content

SLEEP_DESCRIPTION

Constant SLEEP_DESCRIPTION 

Source
pub const SLEEP_DESCRIPTION: &str = "Pauses execution for a specified number of seconds (max 60). Cooperative and cancellable: the sleep aborts immediately when the agent invocation is cancelled. Rejects negative, NaN, infinite, or non-numeric durations, and durations above 60.";
Expand description

The description of the default sleep tool (SLEEP_DESCRIPTION), with its 60-second cap.