Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
9c67a945
"...git@developer.sourcefind.cn:tsoc/superbenchmark.git" did not exist on "a3c65b2a57582d1bbbfd88924e38e20f1597a051"
Commit
9c67a945
authored
May 31, 2024
by
Timothy J. Baek
Browse files
refac: styling
parent
cddbeb02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
src/lib/components/chat/ModelSelector/Selector.svelte
src/lib/components/chat/ModelSelector/Selector.svelte
+12
-12
No files found.
src/lib/components/chat/ModelSelector/Selector.svelte
View file @
9c67a945
...
@@ -278,6 +278,18 @@
...
@@ -278,6 +278,18 @@
{/if}
{/if}
</div>
</div>
{#if (item?.model?.info?.meta?.tags ?? []).length > 0}
<div class="flex gap-0.5 self-center items-center h-full translate-y-[0.5px]">
{#each item.model?.info?.meta.tags as tag}
<div
class=" text-xs font-black px-1 rounded uppercase line-clamp-1 bg-gray-500/20 text-gray-700 dark:text-gray-200"
>
{tag.name}
</div>
{/each}
</div>
{/if}
<!-- {JSON.stringify(item.info)} -->
<!-- {JSON.stringify(item.info)} -->
{#if item.model.owned_by === 'openai'}
{#if item.model.owned_by === 'openai'}
...
@@ -328,18 +340,6 @@
...
@@ -328,18 +340,6 @@
</div>
</div>
</Tooltip>
</Tooltip>
{/if}
{/if}
{#if (item?.model?.info?.meta?.tags ?? []).length > 0}
<div class="flex gap-0.5 self-center items-center h-full translate-y-[0.5px]">
{#each item.model?.info?.meta.tags as tag}
<div
class=" text-xs font-black px-1 rounded uppercase line-clamp-1 bg-gray-500/20 text-gray-700 dark:text-gray-200"
>
{tag.name}
</div>
{/each}
</div>
{/if}
</div>
</div>
{#if value === item.value}
{#if value === item.value}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment