pypi langgraph-sdk 0.1.17

latest releases: 0.4.2, 0.4.1, 0.4.0...
2 years ago

langgraph 0.1.17

Summary of Changes

  • 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

Don't miss a new langgraph-sdk release

NewReleases is sending notifications on new releases.