Fix thread state not resetting
This commit is contained in:
@@ -29,7 +29,7 @@ export const StreamProvider: React.FC<{ children: ReactNode }> = ({
|
|||||||
const streamValue = useTypedStream({
|
const streamValue = useTypedStream({
|
||||||
apiUrl: "http://localhost:2024",
|
apiUrl: "http://localhost:2024",
|
||||||
assistantId: "agent",
|
assistantId: "agent",
|
||||||
threadId,
|
threadId: threadId ?? null,
|
||||||
onThreadId: setThreadId,
|
onThreadId: setThreadId,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user