v0.0.3
Summary
Patch release: automatic LangSmith thread grouping at invoke time.
CompiledGraph._prepare_configbackfillsmetadata.thread_id,metadata.session_id, andconfigurable.thread_idfrom 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_idonBaseContext
Compatibility
langgraph-hierarchies 0.0.3 ↔ langgraph 1.2.6
Install
pip install langgraph-hierarchies==0.0.3