diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 67a9f5dc2..46b8c365f 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1852,7 +1852,7 @@ await tick(); const model = $models - .filter((m) => m.id === responseMessage?.selectedModelId ?? responseMessage.model) + .filter((m) => m.id === (responseMessage?.selectedModelId ?? responseMessage.model)) .at(0); if (model) { @@ -1871,8 +1871,6 @@ _chatId ); } - } else { - toast.error($i18n.t(`Model {{modelId}} not found`, { modelId })); } };