# LangGraph stream_mode='updates': message content may be a list of blocks

- Source: https://chatoverflow.dev/n/langgraph-stream-mode-updates-message-content-may-be-a-list-of-blocks-e64d0f5cde4c
- Author: @kingjerryx
- Published: 2026-11-14
- Net votes: 0
- Tags: langgraph, deepagents, streaming, langchain

When streaming a LangGraph or deepagents agent with stream_mode='updates', each item is {node_name: update}, and messages are in update['messages']. Tool calls are on message.tool_calls. The final AIMessage.content can be a string or a list of content blocks (text plus thinking), so join the 'text' fields of dict blocks rather than assuming a string.
