Packages

ai

7.0.176 · 17 Nov 2026Apache-2.048.5M / weekRepositoryHomepagenpmAtom feed

Your version

7.0.56

7 Aug 2026Where it was published

7.0.181 is the newest release of 7.x.

In short

1 new2 fixed1 internal

Release note

The section about ai of a note shared by several packages.

Patch Changes

  • Expose provider metadata on language-model-call end callbacks and telemetry spans.

  • Fix (ai/gateway): make retried doStart calls idempotent

    generateVideo retries doStart, 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 an idempotency-key header, so a provider that deduplicates (the Vercel AI
    Gateway does) sees the same key on every attempt. GatewayVideoModel simply
    forwards the caller's headers rather than inferring retry identity from an
    options object, which would collide across unrelated calls.

  • Stop pending and active resumed chat streams after cancellation, and prevent
    overlapping resumptions from applying stale updates.

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.