mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Throw an error if the AI service return an empty assistant message
This commit is contained in:
7 files changed
+249
-3
No files matched your search
@@ -649,6 +649,7 @@ export const ChatPane = forwardRef<ChatPaneRef, ChatPaneProps>(({
|
||||
onDismiss={handleErrorDismiss}
|
||||
onNewChat={onNewChat}
|
||||
onOpenModelSelector={openModelSelector}
|
||||
onTryAgain={() => startGeneration(providerModel)}
|
||||
onRequestConsoleErrorHelp={handleConsoleErrorHelp}
|
||||
providerModel={providerModel}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user