github vercel/ai @ai-sdk/gateway@3.0.193

latest releases: @ai-sdk/vue@2.0.257, @ai-sdk/svelte@3.0.257, @ai-sdk/rsc@1.0.259...
6 hours ago

Patch Changes

  • e4ff9e7: fix(gateway): forward server-returned warnings on language model doGenerate

    generateText(...).warnings through the gateway provider was always an empty
    array: doGenerate spread the gateway response body and then overwrote the
    server's warnings with a locally constructed empty array. The warnings the
    gateway relays from the upstream provider (and gateway-originated warnings)
    are now forwarded, matching the streaming path and every other modality.

Don't miss a new ai release

NewReleases is sending notifications on new releases.