Base class for run manager in LangChain.

Hierarchy (view full)

Implements

  • BaseCallbackManagerMethods

Constructors

Properties

runId: string
inheritableHandlers: BaseCallbackHandler[]
inheritableMetadata: Record<string, unknown>
inheritableTags: string[]
metadata: Record<string, unknown>
tags: string[]

Accessors

Methods

  • Called at the end of a Tool run, with the tool output and the run ID.

    Parameters

    • output: any

    Returns Promise<void>

  • Called if a Tool run encounters an error

    Parameters

    • err: unknown

    Returns Promise<void>