Skip to content

ai@5.0.24

Choose a tag to compare

released this 26 Aug 07:27
· 5642 commits to main since this release
382767a

Patch Changes

  • f8f3682: fix: call onFinish when stream is cancelled in toUIMessageStream

    Previously, onFinish was only called on normal stream completion. Now it's also called when the reader is cancelled (e.g., browser close, navigation), ensuring partial messages are persisted.

  • Updated dependencies [1b5a3d3]

  • Updated dependencies [c9994f9]

    • @ai-sdk/provider-utils@3.0.6
    • @ai-sdk/gateway@1.0.13