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, });