Skip to content

sdk==0.1.58

Choose a tag to compare

@github-actions github-actions released this 19 Mar 21:13
cd1d7be

langgraph-sdk 0.1.58

Summary of Changes

  • Enhanced thread creation functionality by adding support for supersteps and graph_id parameters (PR #3923)
  • Improved handling of metadata during thread creation, allowing for better integration with graph-specific operations (PR #3923)
  • Fixed docstring example in update_state method to correctly show async usage (PR #3923)

Detailed Changes

Thread Management

  • Added support for supersteps parameter in both sync and async create methods, enabling users to apply a sequence of updates when creating a thread - useful for copying threads between deployments (PR #3923)
  • Added graph_id parameter to associate a thread with a specific graph during creation (PR #3923)
  • Enhanced metadata handling to seamlessly incorporate both user-provided metadata and graph identification (PR #3923)
  • Fixed documentation example in update_state to correctly show that it should be called with await in async contexts (PR #3923)