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
3cc3671e
Commit
3cc3671e
authored
Jul 15, 2024
by
Timothy J. Baek
Browse files
enh: custom icon support for actions
parent
d4d7c3d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/lib/components/chat/Messages/ResponseMessage.svelte
src/lib/components/chat/Messages/ResponseMessage.svelte
+10
-1
No files found.
src/lib/components/chat/Messages/ResponseMessage.svelte
View file @
3cc3671e
...
...
@@ -1034,7 +1034,16 @@
dispatch('action', action.id);
}}
>
<Sparkles strokeWidth="2.1" className="size-4" />
{#if action.icon_url}
<img
src={action.icon_url}
class="w-4 h-4 dark:invert-[80%]"
style="fill: currentColor;"
alt={action.name}
/>
{:else}
<Sparkles strokeWidth="2.1" className="size-4" />
{/if}
</button>
</Tooltip>
{/each}
...
...
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