You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed Pregel Task Management: Changed how tasks are managed in the Pregel execution model, ensuring tasks are only cleared when explicitly specified with an END node, rather than whenever no values are provided.
Enhanced Checkpoint Creation: Added capability to create checkpoints without modifying the state, useful for creating snapshots during graph execution.
Detailed Changes
langgraph.pregel.Pregel
Fixed a condition in aupdate_state to only clear tasks when as_node is explicitly set to END, rather than when it's None. This prevents unintentional task clearing when no target node is specified.
Added new functionality to create a checkpoint without applying any state changes when values is None and as_node is None. This allows for creating snapshot checkpoints during execution without modifying the underlying state.