LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Caches
    • Callbacks
    • Documents
    • Document loaders
    • Embeddings
    • Exceptions
    • Language models
    • Serialization
    • Output parsers
    • Prompts
    • Rate limiters
    • Retrievers
    • Runnables
    • Utilities
    • Vector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    OverviewCachesCallbacksDocumentsDocument loadersEmbeddingsExceptionsLanguage modelsSerializationOutput parsersPromptsRate limitersRetrieversRunnablesUtilitiesVector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-corecallbacksmanagerAsyncCallbackManagerconfigure
    Method●Since v0.1

    configure

    Configure the async callback manager.

    Copy
    configure(
      cls,
      inheritable_callbacks: Callbacks = None,
      local_callbacks: Callbacks = None,
      verbose: bool = False,
      inheritable_tags: list[str] | None = None,
      local_tags: list[str] | None = None,
      inheritable_metadata: dict[str, Any] | None = None,
      local_metadata: dict[str, Any] | None = None
    ) -> AsyncCallbackManager

    Used in Docs

    • Trace PydanticAI applications
    • Trace Semantic Kernel applications
    • Trace with OpenTelemetry

    Parameters

    NameTypeDescription
    inheritable_callbacksCallbacks
    Default:None

    The inheritable callbacks.

    local_callbacksCallbacks
    Default:None

    The local callbacks.

    verbosebool
    Default:False

    Whether to enable verbose mode.

    inheritable_tagslist[str] | None
    Default:None

    The inheritable tags.

    local_tagslist[str] | None
    Default:None

    The local tags.

    inheritable_metadatadict[str, Any] | None
    Default:None

    The inheritable metadata.

    local_metadatadict[str, Any] | None
    Default:None

    The local metadata.

    View source on GitHub