diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 44a32ce3e..40eaaf718 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -385,7 +385,7 @@
- {#if atSelectedModel !== undefined || selectedToolIds.length > 0 || webSearchEnabled} + {#if atSelectedModel !== undefined || selectedToolIds.length > 0 || webSearchEnabled || imageGenerationEnabled}
@@ -400,7 +400,7 @@
-
+
{#each selectedToolIds.map((id) => { return $tools ? $tools.find((t) => t.id === id) : { id: id, name: id }; }) as tool, toolIdx (toolIdx)} @@ -421,6 +421,22 @@
{/if} + {#if imageGenerationEnabled} +
+
+
+ + + + +
+
{$i18n.t('Image generation')}
+
+
+ {/if} + {#if webSearchEnabled}
@@ -432,7 +448,7 @@
-
{$i18n.t('Search the web')}
+
{$i18n.t('Search the web')}
{/if}