@ai-sdk/gateway
4.0.150 · 18 Nov 2026Apache-2.047.3M / weekRepositoryHomepagenpmAtom feed
4.0.152 is the newest release of 4.x.
In short
2 fixed
Release note
The section about @ai-sdk/gateway of a note shared by several packages.
Patch Changes
Feat (provider/gateway): support the async video operation flow (doStart/doStatus) on the v4 video model
Fix (ai/gateway): make retried
doStartcalls idempotentgenerateVideoretriesdoStart, which creates a billable generation, so a
retry after a lost response could start a second one. It now mints one
idempotency token per logical start — outside the retry closure — and forwards it
as anidempotency-keyheader, so a provider that deduplicates (the Vercel AI
Gateway does) sees the same key on every attempt.GatewayVideoModelsimply
forwards the caller's headers rather than inferring retry identity from an
options object, which would collide across unrelated calls.
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.