LangSmith · Function
get_current_run_tree
Get the active LangSmith run inside a traced function. Use it to read IDs, tags, and other run data.
Last updated
- Since
- 0.5
Syntax
get_current_run_tree() -> Optional[run_trees.RunTree]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
traceablegetCurrentRunTreeRunTreerun_helpers