LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdkstreamdecodersvalidate_interleave_channels
    Function●Since v0.4

    validate_interleave_channels

    Copy
    validate_interleave_channels(
        channels: list[str],
    ) -> None
    View source on GitHub

    Reject reserved protocol channel names before they hit the fallback.

    Genuine extension names pass through untouched; only names that infer_channel treats as built-in methods without an interleave decoder are rejected, so a typo'd or unsupported protocol channel surfaces an error instead of an empty stream.