5.0.274
Fixed 7
- Resume interrupted chat streams when the page becomes visible again
- useChat with resume set to true no longer starts a second resume request on mount when the chat is already submitted or streaming, such as when remounting with a shared Chat instance mid-stream
- Update tool outputs in the message containing the matching tool call
- Prevent global type conflicts across SDK versions
- Wait for chat stream cleanup when stopping
- Update streaming chat messages by stable ID
- Discard unrelated message state when reading resumed streams
From AI SDK
Patch Changes
-
f47f8e0: fix: resume interrupted chat streams when the page becomes visible again
useChatwithresume: trueno longer starts a second resume request on mount when the chat is already submitted or streaming, e.g. when remounting with a sharedChatinstance 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