The official source reports this update: @langchain/google@0.2.4. Patch Changes #11426 2e865ea Thanks @thushanth-bengre-langchain ! - fix: keep image/audio/video content in ToolMessages as sibling Gemini parts instead of losing it inside functionResponse.response.result JSON, and stop double-stringifying non-string tool results ( #10297 , #10439 ) #11477 9a0f244 Thanks @hntrl ! - Fix convertMessagesToGeminiContents merging a ToolMessage (functionResponse) with a following HumanMessage (text) into one user content.
Canonical AI event
LangChain fixes Gemini content merging issue, separates tool results and user messages.
The LangChain Google library update fixes content merging issues in ToolMessages and HumanMessages to prevent API errors.
1 Sept 20261 verified claims1 sources1 observations
This official update documents a development concerning @langchain/google@0.2.4. Its practical significance depends on the scope and evidence stated by the source.
Read the official source update and verify its stated scope, evidence and timing before acting on it.
Connected knowledge
Entities affected by this event
Evidence trail
Sources behind the event
Editorial presentation
Open story