diff --git a/src/lib/components/chat/ModelSelector.svelte b/src/lib/components/chat/ModelSelector.svelte index 626755e0..b4a0f47c 100644 --- a/src/lib/components/chat/ModelSelector.svelte +++ b/src/lib/components/chat/ModelSelector.svelte @@ -6,8 +6,8 @@ export let disabled = false; const saveDefaultModel = () => { - const hasEmptyModel = selectedModels.filter(it => it === ''); - if(hasEmptyModel.length){ + const hasEmptyModel = selectedModels.filter((it) => it === ''); + if (hasEmptyModel.length) { toast.error('Choose a model before saving...'); return; } @@ -88,8 +88,9 @@ {#if selectedModelIdx === 0}