Skip to content

Commit 85a3dbc

Browse files
adrien2pTrigger.dev RepoOps
authored andcommitted
fix(sdk): rejoin a streaming chat turn after a remount aborted the previous resume
Mono-RevId: daad3d2b04ef7d3c5b6c8a0bf57e634f85d391e5
1 parent dd7df18 commit 85a3dbc

3 files changed

Lines changed: 537 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
---
4+
5+
With AI SDK 7's `useChat({ resume: true })`, a chat that remounts while a reply is still streaming (for example under React StrictMode in development) now rejoins the reply from its start instead of showing nothing until the next message.

0 commit comments

Comments
 (0)