Skip to content

@ai-sdk/gateway@4.0.80

Choose a tag to compare

@github-actions github-actions released this 12 Sep 01:22
· 98 commits to main since this release
6c6c221

Patch Changes

  • 7f76d83: 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.