github vercel/ai ai@5.0.274

latest releases: @ai-sdk/zai@3.0.30, @ai-sdk/xai@5.0.21, @ai-sdk/workflow-harness@1.0.149...
4 hours ago

Patch Changes

  • f47f8e0: fix: resume interrupted chat streams when the page becomes visible again

    useChat with resume: true no longer starts a second resume request on mount when the chat is already submitted or streaming, e.g. when remounting with a shared Chat instance mid-stream.

  • ab0ecab: fix(ai): update tool outputs in the message containing the matching tool call

  • dc561f0: fix(ai): prevent global type conflicts across SDK versions

  • c060bd2: fix(ai): wait for chat stream cleanup when stopping

  • dbf4338: fix(ai): update streaming chat messages by stable ID

  • 99c9177: fix(ai): discard unrelated message state when reading resumed streams

  • Updated dependencies [313a602]

  • Updated dependencies [ae1ebda]

    • @ai-sdk/gateway@2.0.165

Don't miss a new ai release

NewReleases is sending notifications on new releases.