github langchain-ai/langchainjs @langchain/google-common@2.1.21

Patch Changes

  • #10106 9f30267 Thanks @hntrl! - Add package version metadata to runnable traces. Each package now stamps its version in this.metadata.versions at construction time, making version info available in LangSmith trace metadata.

  • #10152 e0e5a02 Thanks @hntrl! - fix(google-common): preserve anthropic tool_use blocks and avoid duplicates in Claude Vertex formatting

    Improve Anthropic message conversion in the Vertex Claude path by preserving tool_use blocks from assistant content and deduplicating tool_use entries when they also appear in tool_calls.

    Add regression tests for Anthropic formatting with multi-turn/tool message flows.

  • Updated dependencies [9f30267, 403a99f, 3b1fd54, 77bd982]:

    • @langchain/core@1.1.29

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.