From 9c67a94542d75b3b5a634cc6e107f1c5fa405e74 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Fri, 31 May 2024 12:26:49 -0700 Subject: [PATCH] refac: styling --- .../chat/ModelSelector/Selector.svelte | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lib/components/chat/ModelSelector/Selector.svelte b/src/lib/components/chat/ModelSelector/Selector.svelte index 3bd02c762..7fcc3b5b4 100644 --- a/src/lib/components/chat/ModelSelector/Selector.svelte +++ b/src/lib/components/chat/ModelSelector/Selector.svelte @@ -278,6 +278,18 @@ {/if} + {#if (item?.model?.info?.meta?.tags ?? []).length > 0} +
+ {#each item.model?.info?.meta.tags as tag} +
+ {tag.name} +
+ {/each} +
+ {/if} + {#if item.model.owned_by === 'openai'} @@ -328,18 +340,6 @@ {/if} - - {#if (item?.model?.info?.meta?.tags ?? []).length > 0} -
- {#each item.model?.info?.meta.tags as tag} -
- {tag.name} -
- {/each} -
- {/if} {#if value === item.value}