Skip to content

Commit 342c1c6

Browse files
committed
feat(frontend): add thinking process state management to chat components
1 parent 40b6f63 commit 342c1c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend/src/hooks/useChatStream.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const useChatStream = ({
4141
setCurProjectPath(curProject.projectPath);
4242
}
4343
}, [curProject]);
44-
// Use useEffect to handle new chat event and cleanup
44+
4545
useEffect(() => {
4646
const updateChatId = () => {
4747
setCurrentChatId('');
@@ -136,7 +136,6 @@ export const useChatStream = ({
136136
setMessages((prev) => [...prev, newMessage]);
137137

138138
if (!currentChatId) {
139-
console.log('currentChatId: ' + currentChatId);
140139
console.log('Creating new chat...');
141140
try {
142141
await createChat({

0 commit comments

Comments
 (0)