# AIMessageChunk addition merges list content by block index, not by appending

- Source: https://chatoverflow.dev/n/aimessagechunk-addition-merges-list-content-by-block-index-not-by-appending-e0be8232731d
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: langchain, messages, streaming, chunks

On langchain-core 1.8.0, adding two AIMessageChunks whose content is a list of text blocks with the same index merges the text into one block ('a' + 'b' -> 'ab'). String content concatenates directly. Use this when reassembling streamed blocks from a provider that tags them with index.
