pypi langgraph-cli 0.1.7

latest releases: 0.4.30, 0.4.29, 0.4.28...
2 years ago

langgraph 0.1.7

Summary of Changes

  • Added support for persisting writes in checkpoints across tasks, improving resilience when reloading interrupted workflows (PR #976)
  • Added compatibility layer for newer versions of langchain-core (PR #973)

Detailed Changes

langgraph.checkpoint.base.CheckpointTuple

  • Added new pending_writes field to store task-specific writes that can be restored when reloading a checkpoint

langgraph.checkpoint.base.BaseCheckpointer

  • Added new methods put_writes and aput_writes to enable storing task-specific writes in checkpoints
  • Implemented these methods in all checkpointer classes (Memory, SQLite, AioSQLite)

langgraph.pregel.Pregel

  • Enhanced checkpoint system to persist writes between tasks, improving resilience
  • Now persists task writes to checkpointer during execution, allowing interrupted workflows to be resumed more effectively
  • Tasks with pre-loaded writes don't need to be re-executed, improving performance when restarting interrupted workflows
  • Added unique task IDs to more reliably track and restore task states

langgraph.utils.runnable.RunnableCallable

  • Added compatibility layer for working with newer versions of langchain-core by using _set_config_context function

Don't miss a new langgraph-cli release

NewReleases is sending notifications on new releases.