mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-26 17:42:24 +02:00
don't clear pending packets when just viewing
This commit is contained in:
@@ -1632,7 +1632,8 @@ def _prepare_next_tasks(
|
||||
)
|
||||
else:
|
||||
tasks.append(PregelTaskDescription(packet.node, val))
|
||||
checkpoint["pending_packets"].clear()
|
||||
if for_execution:
|
||||
checkpoint["pending_packets"].clear()
|
||||
# Check if any processes should be run in next step
|
||||
# If so, prepare the values to be passed to them
|
||||
for name, proc in processes.items():
|
||||
|
||||
Reference in New Issue
Block a user