Skip to content

Commit 6b1d59f

Browse files
authored
fix: Fetch state history in stream (#174)
1 parent b44884d commit 6b1d59f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/providers/Stream.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ const StreamSession = ({
8484
apiKey: apiKey ?? undefined,
8585
assistantId,
8686
threadId: threadId ?? null,
87+
fetchStateHistory: true,
8788
onCustomEvent: (event, options) => {
8889
if (isUIMessage(event) || isRemoveUIMessage(event)) {
8990
options.mutate((prev) => {

0 commit comments

Comments
 (0)