github langchain-ai/langchainjs @langchain/core@1.2.2

latest releases: @langchain/openrouter@0.4.4, @langchain/fireworks@0.2.4, @langchain/openai@1.5.4...
4 hours ago

Patch Changes

  • #11171 82bef01 Thanks @christian-bromann! - fix(core): coerce string v1 AIMessage content to text blocks

    Prevent contentBlocks.push is not a function when constructing an
    AIMessage with response_metadata.output_version === "v1" and string
    content (common in serialized LangGraph stream payloads).

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.