langchain.js
    Preparing search index...
    • Return the current run tree from within a traceable-wrapped function. Will throw an error if called outside of a traceable function.

      Returns RunTree

      The run tree for the given context.

    • Return the current run tree from within a traceable-wrapped function. Will throw an error if called outside of a traceable function.

      Parameters

      • permitAbsentRunTree: false

      Returns RunTree

      The run tree for the given context.

    • Return the current run tree from within a traceable-wrapped function. Will throw an error if called outside of a traceable function.

      Parameters

      • permitAbsentRunTree: boolean

      Returns undefined | RunTree

      The run tree for the given context.