interface SubmitOptionsCheckpoint for when creating a new run.
One or more commands to invoke the graph with.
The assistant config.
The assistant context.
Whether to checkpoint during the run (or only at the end/interruption).
"async": Save checkpoint asynchronously while the next step executes (default)."sync": Save checkpoint synchronously before the next step starts."exit": Save checkpoint only when the graph exits.Interrupt execution after leaving these nodes.
Interrupt execution before entering these nodes.
The assistant metadata.
Strategy to handle concurrent runs on the same thread. Only relevant if there is a pending/inflight run on the same thread. One of:
Behavior to handle run completion. Only relevant if there is a pending/inflight run on the same thread. One of:
Behavior to handle disconnection. Only relevant if there is a pending/inflight run on the same thread. One of:
Callback that is called when an error occurs.
Mark the stream as resumable. All events emitted during the run will be temporarily persisted in order to be re-emitted if the stream is re-joined.
Whether or not to stream the nodes of any subgraphs called by the assistant.
The ID of the thread to fetch history and current values from.