@langchain/[email protected]
@langchain/[email protected]
langchain
Release Notes
Patch Changes
#11171
82bef01Thanks @christian-bromann! - fix(core): coerce string v1 AIMessage content to text blocksPrevent
contentBlocks.push is not a functionwhen constructing anAIMessagewithresponse_metadata.output_version === "v1"and stringcontent(common in serialized LangGraph stream payloads).