We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eea67a commit 5466f63Copy full SHA for 5466f63
code/frontend/src/pages/chat/Chat.tsx
@@ -84,6 +84,8 @@ const Chat = () => {
84
const [fetchingConvMessages, setFetchingConvMessages] = React.useState(false);
85
const [isSavingToDB, setIsSavingToDB] = React.useState(false);
86
const [isInitialAPItriggered, setIsInitialAPItriggered] = useState(false);
87
+ const [Count, SetCount] = useState(false);
88
+
89
90
const saveToDB = async (messages: ChatMessage[], convId: string) => {
91
if (!convId || !messages.length) {
0 commit comments