Skip to content

@ai-sdk/gateway@2.0.151

Choose a tag to compare

@github-actions github-actions released this 12 Sep 01:47
· 4086 commits to main since this release
82137ec

Patch Changes

  • 0d4a425: 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.