From 0bc5441d725827e512a9bbb8f9f5997cafc3c6c1 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 31 Mar 2025 17:58:48 -0700 Subject: [PATCH] refac: styling --- .../chat/ModelSelector/Selector.svelte | 328 +++++++++--------- 1 file changed, 163 insertions(+), 165 deletions(-) diff --git a/src/lib/components/chat/ModelSelector/Selector.svelte b/src/lib/components/chat/ModelSelector/Selector.svelte index 47f06f8f5..4b8eb39ca 100644 --- a/src/lib/components/chat/ModelSelector/Selector.svelte +++ b/src/lib/components/chat/ModelSelector/Selector.svelte @@ -374,7 +374,7 @@ {/if}
- {#if tags} + {#if tags && items.filter((item) => !(item.model?.info?.meta?.hidden ?? false)).length > 0}
{ @@ -457,177 +457,175 @@
{/if} - {#each filteredItems as item, index} - {#if !(item.model?.info?.meta?.hidden ?? false)} - - {/if} + {#if value === item.value} +
+ +
+ {/if} + {:else}