Skip to content

@langchain/google-common@2.2.0

Choose a tag to compare

@github-actions github-actions released this 17 Jun 22:07
c5e8962

Minor Changes

Patch Changes

  • #10676 de0958c Thanks @jackjin1997! - Auto-set toolConfig.includeServerSideToolInvocations when a Gemini request mixes server-side built-in tools (e.g. googleSearch, codeExecution) with function declarations. The Gemini API requires this flag in that case and returns HTTP 400 without it.

  • #10547 3aff161 Thanks @alex-levkivskiy! - fix(google-common): add Array.isArray guard in toolMessageToContent to prevent crash on plain object ToolMessage content