Skip to main content

schedule_after_turn

Function schedule_after_turn 

Source
pub fn schedule_after_turn(
    state: &AppState,
    block_id: &str,
    detail: String,
) -> bool
Expand description

§4.2: the tool call is part of the turn that asked for it, so quit when that turn ends (or after SELF_QUIT_TURN_GRACE), not now. Returns false when a quit is already scheduled or under way.