mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Fix Quilly
This commit is contained in:
1 file changed
+3
-3
@@ -74,16 +74,16 @@ export function Quilly({ error, onDismiss, onNewChat, onOpenModelSelector, onTry
|
||||
if (error instanceof EmptyMessageError) {
|
||||
return {
|
||||
message: 'The AI generated an empty response. This may be due to a provider issue or model configuration problem. Try generating again, or switch to a different model.',
|
||||
action: onTryAgain ? {
|
||||
actions: onTryAgain ? [{
|
||||
label: 'Try again',
|
||||
onClick: () => {
|
||||
onTryAgain();
|
||||
onDismiss();
|
||||
},
|
||||
} : {
|
||||
}] : [{
|
||||
label: 'Change model',
|
||||
onClick: onOpenModelSelector,
|
||||
},
|
||||
}],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user