diff --git a/src/lib/components/chat/MessageInput/Models.svelte b/src/lib/components/chat/MessageInput/Models.svelte index ccd455a99..249eb96a5 100644 --- a/src/lib/components/chat/MessageInput/Models.svelte +++ b/src/lib/components/chat/MessageInput/Models.svelte @@ -21,10 +21,8 @@ let filteredModels = []; $: filteredModels = $models - .filter( - (p) => - p.name.toLowerCase().includes(prompt.toLowerCase().split(' ')?.at(0)?.substring(1) ?? '') && - p?.info?.meta?.hidden + .filter((p) => + p.name.toLowerCase().includes(prompt.toLowerCase().split(' ')?.at(0)?.substring(1) ?? '') ) .sort((a, b) => a.name.localeCompare(b.name)); @@ -149,9 +147,9 @@
{#each filteredModels as model, modelIdx} {/each}