@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
1 new
Release note
The section about @ai-sdk/google of a note shared by several packages.
Patch Changes
google: Add
gemini-4-argonmodel id and long decode support forgenerateContent: requests that reach the per-request cap (CONTINUATION) are continued automatically with usage summed across requests and the first request's prompt token count exposed asproviderMetadata.google.initialPromptTokenCount, and thecontinuationTokenprovider option / provider metadata resume responses that used up theirmaxOutputTokensbudget.generateTextwith the Interactions API now pollsbackground: truemodel calls until they finish.
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.