From 29e860acca3c2cf67a21f8e7cbfb5f3cc3b3c004 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Fri, 19 Jul 2024 08:52:08 -0700 Subject: [PATCH] Update manager.py --- libs/langgraph/langgraph/channels/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/channels/manager.py b/libs/langgraph/langgraph/channels/manager.py index 524611e5a..2492551e2 100644 --- a/libs/langgraph/langgraph/channels/manager.py +++ b/libs/langgraph/langgraph/channels/manager.py @@ -61,6 +61,6 @@ def create_checkpoint( channel_versions=checkpoint["channel_versions"], versions_seen=checkpoint["versions_seen"], pending_sends=checkpoint.get("pending_sends", []), - # checkpoints are saved only at the end of a step, ie. no current tasks + # checkpoints are saved only at the end of a step, ie. when current tasks should be cleared current_tasks={}, )