Add "Try again" action to Quilly fallback

This commit is contained in:
Alex Gleason committed 2025-11-26 12:05:33 -06:00
1 parent 926e63bb81
commit c5e5cafb77
1 file changed
+7 -1
+7 -1
View File
@@ -197,7 +197,13 @@ function QuillyContent({ error, onDismiss, onNewChat, onOpenModelSelector, onTry
message: error.message
? `AI service error: ${error.message}`
: 'Sorry, I encountered an unexpected error. Please try again.',
actions: [],
actions: onTryAgain ? [{
label: 'Try again',
onClick: () => {
onTryAgain();
onDismiss();
},
}] : [],
};
};