From bb52acbd9dd468c88f19c93173361afbe86de7aa Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Fri, 1 Aug 2025 22:54:26 +0000 Subject: [PATCH] Apply patch [skip ci] --- libs/langgraph/langgraph/pregel/_loop.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/pregel/_loop.py b/libs/langgraph/langgraph/pregel/_loop.py index 0f1c30d47..ccfdbb7b7 100644 --- a/libs/langgraph/langgraph/pregel/_loop.py +++ b/libs/langgraph/langgraph/pregel/_loop.py @@ -100,7 +100,7 @@ from langgraph.pregel._io import ( read_channels, ) from langgraph.pregel._read import PregelNode -from langgraph.pregel._scratchpad import PregelScratchpad +from langgraph.types import PregelScratchpad from langgraph.pregel._utils import get_new_channel_versions, is_xxh3_128_hexdigest from langgraph.pregel.debug import ( map_debug_checkpoint, @@ -1233,3 +1233,4 @@ class AsyncPregelLoop(PregelLoop, AbstractAsyncContextManager): # consumer to await it before e.g., reusing the DB connection. e.args = (*e.args, exit_task) raise +