Ask a question to get started
Enter to sendā¢Shift+Enter new line
Interrupt( self, value: Any, id: str = _DEFAULT_INTERRUPT_ID, *, response_schema: type
Generic[ResponseT]
The value associated with the interrupt.
The ID of the interrupt. Can be used to resume the interrupt directly.
Schema for the value expected when resuming this interrupt, if the graph provided one.
A surfaced interrupt carries JSON Schema (a dict); type[ResponseT] records the Python type at construction so Interrupt[Decision] is meaningful to type checkers.
dict
type[ResponseT]
Interrupt[Decision]
Information about an interrupt that occurred in a node.
interrupt_id
The following attributes have been removed:
ns
when
resumable
id