Merge pull request #2971 from rvaldemar/fix/chat-input-no-model-toast

fix(chat): show visible error toast when no provider or model is selected
This commit is contained in:
Bohdan Triapitsyn
2026-08-27 23:14:33 +03:00
committed by GitHub
12 changed files with 12 additions and 0 deletions
@@ -1010,6 +1010,7 @@ const ChatInputComponent: React.FC<ChatInputProps> = ({
if (!providerIdToSend || !modelIdToSend) {
console.warn('Cannot send message: provider or model not selected');
toast.error(t('chat.chatInput.toast.noModelSelected'));
return;
}