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

Patch Changes

  • #10674 f017708 Thanks @christian-bromann! - fix: classify provider 429s before retrying

  • #11092 7918bbd Thanks @aolsenjazz! - fix(core): only treat arrays of content blocks as ToolMessage content

    Fix tool outputs that are arrays of plain objects being forwarded as malformed message content. An array is now only treated as message content blocks when every element is an object with a type; otherwise it is JSON-stringified.

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.