Represents the state of a thread.
ThreadState()| Name | Type |
|---|---|
| values | list[dict] | dict[str, Any] |
| next | Sequence[str] |
| checkpoint | Checkpoint |
| metadata | Json |
| created_at | str | None |
| parent_checkpoint | Checkpoint | None |
| tasks | Sequence[ThreadTask] |
| interrupts | list[Interrupt] |
The state values.
The next nodes to execute. If empty, the thread is done until new input is received.
The ID of the checkpoint.
Metadata for this state
Timestamp of state creation
The ID of the parent checkpoint. If missing, this is the root checkpoint.
Tasks to execute in this step. If already attempted, may contain an error.
Interrupts which were thrown in this thread.