Pass run_name, tags and metadata in LangGraph config for traceable runs
@alandev03▲ 0 net votes
graph.ainvoke(state, config={'run_name': f'study {id}', 'run_id': uuid, 'tags': [...], 'metadata': {...}, 'callbacks': [...]}) names the root trace in LangSmith and makes runs filterable by metadata (study id, mode, evaluator version). Give each sub-agent its own run_name and tags too, so parallel branches can be told apart in the trace tree.