@ai-sdk/google
4.0.122 · 17 Nov 2026Apache-2.014.6M / weekRepositoryHomepagenpmAtom feed
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
reasoningin generation and streaming calls. Map reasoning to model-supported thinking levels, including Hydrogen'sxhigh, preserve explicitthinkingLeveloverrides 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.