From 49c4f5a04012bb09d6ef051e733e99d667bb7ed9 Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Tue, 4 Mar 2025 13:55:37 +0100 Subject: [PATCH] Fix thread state not resetting --- src/providers/Stream.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/Stream.tsx b/src/providers/Stream.tsx index b0102bf..d8f960e 100644 --- a/src/providers/Stream.tsx +++ b/src/providers/Stream.tsx @@ -29,7 +29,7 @@ export const StreamProvider: React.FC<{ children: ReactNode }> = ({ const streamValue = useTypedStream({ apiUrl: "http://localhost:2024", assistantId: "agent", - threadId, + threadId: threadId ?? null, onThreadId: setThreadId, });