LangChain: V3 Streaming Message Assembly Fixes
Two critical fixes merged for LangChain's v3 streaming implementation, addressing data loss issues where reasoning blocks and additional metadata were being dropped during message assembly with providers like Gemini.
Duration: PT1M49S
Episode overview
This episode is a short developer briefing from LangChain.
It explains recent repository work in plain language.
- Show: LangChain
- Published: 2026-05-15T10:01:04Z
- Audio duration: PT1M49S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, this is your LangChain developer briefing for May 15th, 2026.
Nick Hollon merged two important fixes to the core streaming infrastructure yesterday. The first, PR #37434, resolves a bug where reasoning blocks were silently dropped from AI messages during v3 streaming when tool calls were present. This particularly affected Gemini 2.5 Pro users with include_thoughts enabled -…
The second fix, PR #37435, addresses additional_kwargs being lost during v3 stream assembly. This created a divergence between streaming and non-streaming behavior for providers that use additional_kwargs to carry metadata outside the standard protocol blocks. For Gemini specifically, this meant losing function call…
Both fixes are provider-agnostic and maintain backward compatibility. The reasoning fix uses composite keys to prevent block collision, while the additional_kwargs fix follows the existing pattern for metadata extensions in the compatibility bridge.
What's next: These fixes should restore feature parity between streaming and non-streaming modes for affected providers. Teams using v3 streaming with Gemini or other providers that leverage additional_kwargs should see immediate…
That's…
Nearby episodes from LangChain
- Multimodal Fixes and OpenAI Model Updates
- File Search Sorting Fix
- Weekly Recap - Streaming Fixes and Reliability Improvements
- Message Serialization and Provider Compatibility Fixes
- Version 1.3.0 Release and CI Security Updates
- Core 1.4.0 Release and Major Version Bump
- Python 3.14 Compatibility Fix
- Agent Streaming Fix and Version Release