| Name | Type | Description |
|---|---|---|
input* | dict[str, Any] | Any | Input to the graph. |
config | RunnableConfig | None | Default: NoneA |
stream_mode | StreamMode | list[StreamMode] | None | Default: None |
interrupt_before | All | Sequence[str] | None | Default: None |
interrupt_after | All | Sequence[str] | None | Default: None |
subgraphs | bool | Default: False |
headers | dict[str, str] | None | Default: None |
**kwargs | Any | Default: {} |
Create a run and stream the results.
This method calls POST /threads/{thread_id}/runs/stream if a thread_id
is specified in the configurable field of the config or
POST /runs/stream otherwise.
Stream mode(s) to use.
Interrupt the graph before these nodes.
Interrupt the graph after these nodes.
Stream from subgraphs.
Additional headers to pass to the request.
Additional params to pass to client.runs.stream.