6.0.304
Fixed 6
- useChat with resume: 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
- Interrupted chat streams are resumed when the page becomes visible again
- Tool outputs are updated in the message containing the matching tool call
- Duplicate message parts are prevented when resuming replayed streams
- Streaming chat messages are updated by stable ID
- Approved tool calls without results are rejected before later context is sent to providers
From AI SDK
Patch Changes
-
fade070: 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. -
8e74de0: fix(ai): update tool outputs in the message containing the matching tool call
-
a5c9cca: fix(ai): prevent duplicate message parts when resuming replayed streams
-
7888841: fix(ai): update streaming chat messages by stable ID
-
e466fb0: fix(ai): reject approved tool calls without results before sending later context to providers