From 3cc3671e74fc480dc2307735b9ac4416ba93900a Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 15 Jul 2024 12:15:00 +0200 Subject: [PATCH] enh: custom icon support for actions --- .../components/chat/Messages/ResponseMessage.svelte | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 9342e6899..afbec9489 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -1034,7 +1034,16 @@ dispatch('action', action.id); }} > - + {#if action.icon_url} + {action.name} + {:else} + + {/if} {/each}