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-coretracerslangchainOVERRIDABLE_LANGSMITH_INHERITABLE_METADATA_KEYS
    Attributeā—Since v1.3

    OVERRIDABLE_LANGSMITH_INHERITABLE_METADATA_KEYS

    Copy
    OVERRIDABLE_LANGSMITH_INHERITABLE_METADATA_KEYS: frozenset[str] = frozenset({'ls_agent_type'})
    View source on GitHub

    Allowlist of LangSmith-only tracing metadata keys that bypass the default "first wins" merge semantics used when propagating tracer metadata to nested runs.

    Keys in this set are ALWAYS overridden by the nearest enclosing tracer config, so nested callers (e.g. a subagent) can replace a value inherited from an ancestor.

    Keep this list very small: every key here loses the default "first wins" protection and is always clobbered by the nearest enclosing tracer config. Only keys that are strictly for LangSmith tracing bookkeeping should be added.