- {#if atSelectedModel !== undefined || selectedToolIds.length > 0 || webSearchEnabled}
+ {#if atSelectedModel !== undefined || selectedToolIds.length > 0 || webSearchEnabled || imageGenerationEnabled}
+
{#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')}