OptionalafterOptionalcheckpointCheckpoint for when creating a new run.
OptionalcheckpointWhether to checkpoint during the run (or only at the end/interruption).
OptionalcheckpointCheckpoint ID for when creating a new run.
OptionalcommandOne or more commands to invoke the graph with.
OptionalconfigAdditional configuration for the run.
OptionalcontextStatic context to add to the assistant.
OptionaldurabilityWhether 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.OptionalifBehavior if the specified run doesn't exist. Defaults to "reject".
OptionalinputInput to the run. Pass null to resume from the current state of the thread.
OptionalinterruptInterrupt execution after leaving these nodes.
OptionalinterruptInterrupt execution before entering these nodes.
OptionalmetadataMetadata for the run.
OptionalmultitaskStrategy to handle concurrent runs on the same thread. Only relevant if there is a pending/inflight run on the same thread. One of:
OptionalonBehavior to handle run completion. Only relevant if there is a pending/inflight run on the same thread. One of:
OptionalonBehavior to handle disconnection. Only relevant if there is a pending/inflight run on the same thread. One of:
OptionalonCallback when a run is created.
OptionalsignalAbort controller signal to cancel the run.
OptionalwebhookWebhook to call when the run is complete.
The number of seconds to wait before starting the run. Use to schedule future runs.