Port step_timeout/GraphBubbleUp fix to v0

See fix and tests in original PR https://github.com/langchain-ai/langgraph/pull/4950
This commit is contained in:
Nuno Campos
2025-06-03 17:23:45 -07:00
parent 746142fb07
commit d7c364c5bb
+1 -1
View File
@@ -431,7 +431,7 @@ class PregelRunner:
writes.extend(resumes)
self.put_writes()(task.id, writes) # type: ignore[misc]
elif isinstance(exception, GraphBubbleUp):
raise exception
pass
else:
# save error to checkpointer
task.writes.append((ERROR, exception))