Converts the current run tree active within a traceable-wrapped function into a LangChain compatible callback manager. This is useful to handoff tracing from LangSmith to LangChain Runnables and LLMs.
| Name | Type | Description |
|---|---|---|
currentRunTree | RunTree | Current RunTree from within a traceable-wrapped function. If not provided, the current run tree will be inferred from AsyncLocalStorage. |