github langchain-ai/langchainjs @langchain/google-genai@2.1.12

latest releases: langchain@1.2.12, @langchain/google-webauth@2.1.12, @langchain/mcp-adapters@1.1.2...
8 hours ago

Patch Changes

  • #9788 82080b5 Thanks @SkrOYC! - fix: handle "tool_call" content blocks in ChatGoogleGenerativeAI with outputVersion: "v1"

    Previously, using outputVersion: "v1" with ChatGoogleGenerativeAI would throw an "Unknown content type tool_call" error when processing tool calls generated by LangChain's AIMessage. This fix adds a handler for the tool_call block type in the conversion utility, ensuring compatibility with standard LangChain tool call blocks.

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.