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
af9e0cc3
Commit
af9e0cc3
authored
Aug 03, 2024
by
Timothy J. Baek
Browse files
fix
parent
028eb7b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/lib/components/chat/MessageInput/Models.svelte
src/lib/components/chat/MessageInput/Models.svelte
+2
-2
No files found.
src/lib/components/chat/MessageInput/Models.svelte
View file @
af9e0cc3
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
<button
<button
class="px-3 py-1.5 rounded-xl w-full text-left {modelIdx === selectedIdx
class="px-3 py-1.5 rounded-xl w-full text-left {modelIdx === selectedIdx
? 'bg-gray-50 dark:bg-gray-850 selected-command-option-button'
? 'bg-gray-50 dark:bg-gray-850 selected-command-option-button'
:
''} {model?.info?.meta?.hidden ? 'hidden' :
''}"
: ''}"
type="button"
type="button"
on:click={() => {
on:click={() => {
confirmSelect(model);
confirmSelect(model);
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
<div class="flex font-medium text-black dark:text-gray-100 line-clamp-1">
<div class="flex font-medium text-black dark:text-gray-100 line-clamp-1">
<img
<img
src={model?.info?.meta?.profile_image_url ?? '/static/favicon.png'}
src={model?.info?.meta?.profile_image_url ?? '/static/favicon.png'}
alt={model.name}
alt={model
?
.name
?? model.id
}
class="rounded-full size-6 items-center mr-2"
class="rounded-full size-6 items-center mr-2"
/>
/>
{model.name}
{model.name}
...
...
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