Skip to main content

Module outcome

Module outcome 

Source
Expand description

Run outcomes and the human-in-the-loop interrupt protocol.

A run does not only end in success or error. It can also pause: the agent emits RUN_FINISHED with an RunOutcome::Interrupt outcome listing one or more Interrupts, the client collects the answers, and the next request resumes the run by passing ResumeEntry values in RunAgentInput::resume.

Structs§

Interrupt
A request for human input that pauses the run.
ResumeEntry
One answer to one Interrupt, sent on the resuming request.

Enums§

ResumeStatus
How the client answered one interrupt.
RunOutcome
How a run ended.