mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-02 14:18:42 +02:00
feat(sdk-py): add interrupts to thread state (#5580)
This commit is contained in:
@@ -280,6 +280,8 @@ class ThreadState(TypedDict):
|
||||
"""The ID of the parent checkpoint. If missing, this is the root checkpoint."""
|
||||
tasks: Sequence[ThreadTask]
|
||||
"""Tasks to execute in this step. If already attempted, may contain an error."""
|
||||
interrupts: list[Interrupt]
|
||||
"""Interrupts which were thrown in this thread."""
|
||||
|
||||
|
||||
class ThreadUpdateStateResponse(TypedDict):
|
||||
|
||||
Reference in New Issue
Block a user