fix(chat): show visible error toast when no provider or model is selected
Sending a message without a provider/model selection failed silently: only a console.warn was emitted and the UI gave no feedback. Surface a toast (i18n key chat.chatInput.toast.noModelSelected, added to all 11 locales) so the user knows why the message was not sent.
This commit is contained in:
@@ -2170,6 +2170,7 @@ export const dict: Record<I18nKey, string> = {
|
||||
"chat.chatInput.toast.attachmentsTooLarge": "Вкладені файли завеликі для надсилання. Спробуйте зменшити кількість або розмір зображень.",
|
||||
"chat.chatInput.toast.sendAttachmentsFailed": "Не вдалося надіслати вкладення. Спробуйте зменшити кількість файлів або зображень.",
|
||||
"chat.chatInput.toast.messageSendFailed": "Не вдалося надіслати повідомлення. Вкладення відновлено.",
|
||||
"chat.chatInput.toast.noModelSelected": "Виберіть постачальника та модель перед надсиланням.",
|
||||
"chat.chatInput.toast.clipboardAttachFailed": "Не вдалося вкласти зображення з буфера обміну",
|
||||
"chat.chatInput.toast.addedFileMentions": "Додано згадки файлів {count}",
|
||||
"chat.chatInput.toast.attachFileFailed": "Не вдалося прикріпити файл",
|
||||
|
||||
Reference in New Issue
Block a user