From b870fd111853ae3283342e3cb4f2e506ee6c5f4e Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 27 May 2024 22:24:48 -0700 Subject: [PATCH] fix: task model options --- .../components/chat/Settings/Interface.svelte | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/lib/components/chat/Settings/Interface.svelte b/src/lib/components/chat/Settings/Interface.svelte index 7d6b5762e..4d46146b2 100644 --- a/src/lib/components/chat/Settings/Interface.svelte +++ b/src/lib/components/chat/Settings/Interface.svelte @@ -313,12 +313,10 @@ placeholder={$i18n.t('Select a model')} > - {#each $models as model} - {#if model.size != null} - - {/if} + {#each $models.filter((m) => m.owned_by === 'ollama') as model} + {/each} @@ -332,11 +330,9 @@ > {#each $models as model} - {#if model.name !== 'hr'} - - {/if} + {/each}