(refactor/converstationSlice) separate preview

This commit is contained in:
ManishMadan2882
2025-06-19 02:16:03 +05:30
parent 7bc83caa99
commit 55a1d867c3
5 changed files with 501 additions and 194 deletions

View File

@@ -57,9 +57,7 @@ export default function SharedAgent() {
const handleFetchAnswer = useCallback(
({ question, index }: { question: string; index?: number }) => {
fetchStream.current = dispatch(
fetchAnswer({ question, indx: index, isPreview: false }),
);
fetchStream.current = dispatch(fetchAnswer({ question, indx: index }));
},
[dispatch],
);