releases.shpreview

Gemini streamEvents now convert natively; toolConfig auto-set fixed

@langchain/google-common@2.2.0

1 feature2 fixesThis release1 featureNew capabilities2 fixesBug fixesAI-tallied from the release notes

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

Fetched June 18, 2026