diff --git a/libs/langgraph/langgraph/pregel/loop.py b/libs/langgraph/langgraph/pregel/loop.py index 1f2fe91a3..e92f0c267 100644 --- a/libs/langgraph/langgraph/pregel/loop.py +++ b/libs/langgraph/langgraph/pregel/loop.py @@ -345,11 +345,11 @@ class PregelLoop(LoopProtocol): (PUSH, task.path, write_idx, task.id, call), None, checkpoint=self.checkpoint, - pending_writes=[(task.id, *w) for w in task.writes], + pending_writes=self.checkpoint_pending_writes, processes=self.nodes, channels=self.channels, managed=self.managed, - config=self.config, + config=task.config, step=self.step, for_execution=True, store=self.store,