Expand description
Human-in-the-loop interrupts and their persisted state.
A hook or tool raises an Interrupt; the agent stops with StopReason::Interrupt; the caller
resumes it with InterruptResponseContent blocks, and the raiser then receives the response.
The interrupt state stored under interrupts in an agent snapshot is crate-internal.
Structs§
- Interrupt
- An interrupt that pauses agent execution for human input (
Interrupt). - Interrupt
Error - One or more unanswered interrupts as an error (
InterruptError).
Enums§
- Interrupt
Source - Where an interrupt was raised (
InterruptSource).