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 =>