Skip to content

0.2.35

Choose a tag to compare

@github-actions github-actions released this 09 Oct 13:36
5d0afa3

langgraph 0.2.35

Summary of Changes

  • Added support for cross-thread memory in agent executors, allowing agents to remember information across different conversation threads (#1992)
  • Improved debugging for nested graphs by propagating checkpoint information properly through subgraphs (#1992)
  • Introduced a new utility function find_subgraph_pregel to identify Pregel subgraphs within runnables (#1992)
  • Replaced RunnableLambda with RunnableCallable in agent executors for consistent behavior (#1992)

Detailed Changes

langgraph.pregel.utils.find_subgraph_pregel

  • Added new utility function that recursively searches through runnable components to find Pregel subgraphs
  • Helps identify if a runnable contains a Pregel subgraph, which is useful for checkpoint handling

langgraph.pregel.debug.map_debug_checkpoint

  • Enhanced checkpoint debugging to include task state information in debug output
  • Added support for handling nested subgraph checkpoints by properly maintaining checkpoint namespaces
  • This improves debugging capabilities when working with complex nested graph structures

langgraph.utils.runnable.RunnableCallable

  • Minor formatting change with no functional impact