From 03bec97767197872ccb4a1173e4bf820d922ff25 Mon Sep 17 00:00:00 2001 From: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com> Date: Sun, 20 Jul 2025 19:46:38 -0400 Subject: [PATCH] feat(sdk-py): add `interrupts` to thread state (#5580) --- libs/sdk-py/langgraph_sdk/schema.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/sdk-py/langgraph_sdk/schema.py b/libs/sdk-py/langgraph_sdk/schema.py index 13b525bca..d68bf6439 100644 --- a/libs/sdk-py/langgraph_sdk/schema.py +++ b/libs/sdk-py/langgraph_sdk/schema.py @@ -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):