Packages

@ai-sdk/google

4.0.122 · 17 Nov 2026Apache-2.014.6M / weekRepositoryHomepagenpmAtom feed

Your version

3.0.16

28 Jan 2026Where it was published

3.0.147 is the newest release of 3.x.

In short

1 fixed

Release note

Patch Changes

  • Fix (provider/google): make segment optional in groundingSupports schema

    The Google Generative AI API sometimes returns grounding supports without a segment field. This change makes the segment field optional to handle these responses correctly.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.