diff --git a/src/lib/components/chat/Settings/Interface.svelte b/src/lib/components/chat/Settings/Interface.svelte
index f2dfac5ca..436f67773 100644
--- a/src/lib/components/chat/Settings/Interface.svelte
+++ b/src/lib/components/chat/Settings/Interface.svelte
@@ -191,10 +191,12 @@
placeholder="Select a model"
>
- {#each $models.filter((m) => m.size != null) as model}
-
+ {#each $models as model}
+ {#if model.size != null}
+
+ {/if}
{/each}