Skip to content

v0.0.3

Choose a tag to compare

@ishish222 ishish222 released this 29 Jun 12:07

Summary

Patch release: automatic LangSmith thread grouping at invoke time.

  • CompiledGraph._prepare_config backfills metadata.thread_id, metadata.session_id, and configurable.thread_id from whichever source the caller provides
  • New public helpers: normalize_thread_config, resolve_thread_id, build_invoke_config
  • Child subgraph spans inherit normalized config via LangGraph propagation
  • No new runtime dependencies

Usage

Provide any one of:

  • config["configurable"]["thread_id"]
  • config["metadata"]["thread_id"]
  • context.thread_id on BaseContext

Compatibility

langgraph-hierarchies 0.0.3 ↔ langgraph 1.2.6

Install

pip install langgraph-hierarchies==0.0.3