high92%
TypeError in merge_lists when merging string and dict content blocks from Mistral streaming citations
The `merge_lists` utility in `langchain-core` crashes with `TypeError: string indices must be integers` when merging a list that contains both plain strings and citation dictionaries (with an `index` key). This occurs during streaming of Mistral responses that include inline citations, because `merge_lists` assumes every element is a dictionary.
