Skip to main content

MAX_WAIT

Constant MAX_WAIT 

Source
const MAX_WAIT: Duration;
Expand description

Max time to wait for a translated terminal event (AgentEvent::Done / Error) before giving up and synthesizing one. A --max-turns 1 tool-less turn should finish in a few seconds; this is a generous backstop against a wedged/never-exiting subprocess, not the expected path.