fix(chat): finalize terminal lifecycle to prevent stuck processing/thinking UI (#483)

This commit is contained in:
Haileyesus
2026-03-04 22:49:24 +03:00
committed by GitHub
parent 2320e1d74b
commit 0590c5c178
3 changed files with 75 additions and 26 deletions

View File

@@ -67,6 +67,7 @@ const useWebSocketProviderState = (): WebSocketContextType => {
try {
const data = JSON.parse(event.data);
setLatestMessage(data);
console.log('--->Received WebSocket message:', data);
} catch (error) {
console.error('Error parsing WebSocket message:', error);
}