Packages

@ai-sdk/google

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

Your version

4.0.121

13 Nov 2026Where it was published

4.0.122 is the newest release of 4.x.

In short

2 fixed

Release note

Patch Changes

  • Derive known model ID suggestions from each provider's model catalog declarations so catalog updates automatically update autocomplete, while preserving existing suggestions, endpoint-specific model lists, and support for custom model IDs.

  • Fix Google Interactions ignoring top-level reasoning in generation and streaming calls. Map reasoning to model-supported thinking levels, including Hydrogen's xhigh, preserve explicit thinkingLevel overrides and API defaults, and warn when reasoning is unsupported.

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.