Interface: IPausedResponse
Defined in: types.ts:659
The run stopped for a human: a tool call waits for an approval, the model asked the user a question, or the answer waits for a review.
The response of a run() or resume() that paused; the host shows the envelopes as cards and calls
AIGateway.resume with one decision per envelope.
Properties
envelopes
envelopes:
TPauseEnvelopes
Defined in: types.ts:674
The cards the human answers, one per tool call of the step that waits (D102), or the one review of the answer (D99).
A parallel step may hold several calls back at once; the UI shows every card, and
resumetakes a decision for each.
Never empty. Each envelope carries the callId a decision names; a RESULT_REVIEW is always alone, and without its
result here: the draft is the reviewer's (AIGateway.getPausedRun).
kind
kind:
PAUSED
Defined in: types.ts:661
The discriminant of TGatewayResponse.
pauseId
pauseId:
string
Defined in: types.ts:665
Names this pause of the run; resume must pass it (the envelopes carry it too). A later pause of the same run has another.
threadId
threadId:
string
Defined in: types.ts:663
The thread of the run; it stays AWAITING_HUMAN until the run is resumed, cancelled or expired.