diff --git a/src/apps/chat/editors/chat-stream.ts b/src/apps/chat/editors/chat-stream.ts index e309e4adf..3501f4647 100644 --- a/src/apps/chat/editors/chat-stream.ts +++ b/src/apps/chat/editors/chat-stream.ts @@ -113,8 +113,6 @@ async function streamAssistantMessage( } catch (error: any) { if (error?.name !== 'AbortError') { console.error('Fetch request error:', error); - // TODO: show an error to the UI? - } else { const errorText = ` [Issue: ${error.message || (typeof error === 'string' ? error : 'Chat stopped.')}]`; incrementalAnswer.text = (incrementalAnswer.text || '') + errorText; }