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 40b6f63 commit 342c1c6Copy full SHA for 342c1c6
frontend/src/hooks/useChatStream.ts
@@ -41,7 +41,7 @@ export const useChatStream = ({
41
setCurProjectPath(curProject.projectPath);
42
}
43
}, [curProject]);
44
- // Use useEffect to handle new chat event and cleanup
+
45
useEffect(() => {
46
const updateChatId = () => {
47
setCurrentChatId('');
@@ -136,7 +136,6 @@ export const useChatStream = ({
136
setMessages((prev) => [...prev, newMessage]);
137
138
if (!currentChatId) {
139
- console.log('currentChatId: ' + currentChatId);
140
console.log('Creating new chat...');
141
try {
142
await createChat({
0 commit comments