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
Improved state management by allowing empty state updates in Pregel.update_state(), preserving configuration between updates
Enhanced checkpoint handling to support maintaining state when no values are provided
Detailed Changes
langgraph.pregel.Pregel
Modified the update_state() method to accept None as a valid value for the values parameter, enabling state updates that preserve configuration without changing values
Improved step counting logic to ensure proper incrementation when updating state
Enhanced configuration preservation between updates by properly merging configurable fields from previous checkpoints
Checkpoint Creation (Internal)
Updated internal checkpoint creation logic to handle cases where channels are not provided, allowing for checkpoint preservation while updating configuration