From aac254ec233e47a1f2cc4a567538c64bec241349 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 17 Apr 2026 13:03:59 +0200 Subject: [PATCH] Show error alert in sendMessage function --- src/App.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.jsx b/src/App.jsx index 2e01666..59372bc 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -2675,6 +2675,8 @@ async function sendMessage() { ) setInput(composerSnapshot) setComposerAttachments(attachmentSnapshot) + window.alert(getErrorText(error)) + return } const errorMsg = { role: 'assistant', content: 'Error: ' + getErrorText(error), id: `msg-${Date.now()}-${Math.random()}` } setChatSessions(prevSessions =>