Skip to content

0.2.34

Choose a tag to compare

@github-actions github-actions released this 02 Oct 21:49
86edf63

langgraph 0.2.34

Summary of Changes

  • Improved error handling when extending subgraphs in Graph.add_edge (#1962)
  • Added store parameter to create_react_agent function for multi-thread persistence (#1981)
  • Added warning for InjectedStore annotation regarding dependency requirements (#1976)

Detailed Changes

langgraph.graph.graph.Graph

  • Improved error handling in add_edge method when extending subgraphs (#1962)
    • Better error message when subgraph has missing entrypoint
    • More graceful handling when subgraph has an entrypoint but no start node

create_react_agent

  • Added store parameter to create_react_agent function (#1981)
    • The store parameter allows for persisting data across multiple threads (e.g., multiple conversations/users)
    • This complements the existing checkpointer parameter which persists state for a single thread (e.g., a single conversation)
    • Updated documentation to clarify the difference between store and checkpointer parameters

InjectedStore

  • Added warning that InjectedStore annotation requires langchain-core >= 0.3.8 (#1976)