From 3be1cb98d3200cb1392170f502a7be86b0ffd14b Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Fri, 7 Jun 2024 22:32:45 -0700 Subject: [PATCH] fix: ollama embedding list --- src/lib/components/documents/Settings/General.svelte | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/components/documents/Settings/General.svelte b/src/lib/components/documents/Settings/General.svelte index 34d8f5787..b8b37f06a 100644 --- a/src/lib/components/documents/Settings/General.svelte +++ b/src/lib/components/documents/Settings/General.svelte @@ -350,10 +350,8 @@ {#if !embeddingModel} {/if} - {#each $models.filter((m) => m.id && !m.external) as model} - + {#each $models.filter((m) => m.id && m.ollama && !(m?.preset ?? false)) as model} + {/each}