LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    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
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdkschemaThreadStreamMode
    Attribute●Since v0.2

    ThreadStreamMode

    Copy
    ThreadStreamMode = Literal['run_modes', 'lifecycle', 'state_update']
    View source on GitHub

    Defines the mode of streaming:

    • "run_modes": Stream the same events as the runs on thread, as well as run_done events.
    • "lifecycle": Stream only run start/end events.
    • "state_update": Stream state updates on the thread.