|
@@ -424,54 +424,6 @@
|
|
|
</div>
|
|
|
{/if}
|
|
|
|
|
|
- {#if webSearchEnabled || ($config?.features?.enable_web_search && ($settings?.webSearch ?? false)) === 'always'}
|
|
|
- <div class="flex items-center justify-between w-full">
|
|
|
- <div class="flex items-center gap-2.5 text-sm dark:text-gray-500">
|
|
|
- <div class="pl-1">
|
|
|
- <span class="relative flex size-2">
|
|
|
- <span
|
|
|
- class="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-400 opacity-75"
|
|
|
- />
|
|
|
- <span class="relative inline-flex rounded-full size-2 bg-blue-500" />
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- <div class=" translate-y-[0.5px]">{$i18n.t('Search the internet')}</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- {/if}
|
|
|
-
|
|
|
- {#if imageGenerationEnabled}
|
|
|
- <div class="flex items-center justify-between w-full">
|
|
|
- <div class="flex items-center gap-2.5 text-sm dark:text-gray-500">
|
|
|
- <div class="pl-1">
|
|
|
- <span class="relative flex size-2">
|
|
|
- <span
|
|
|
- class="animate-ping absolute inline-flex h-full w-full rounded-full bg-teal-400 opacity-75"
|
|
|
- />
|
|
|
- <span class="relative inline-flex rounded-full size-2 bg-teal-500" />
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- <div class=" translate-y-[0.5px]">{$i18n.t('Generate an image')}</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- {/if}
|
|
|
-
|
|
|
- {#if codeInterpreterEnabled}
|
|
|
- <div class="flex items-center justify-between w-full">
|
|
|
- <div class="flex items-center gap-2.5 text-sm dark:text-gray-500">
|
|
|
- <div class="pl-1">
|
|
|
- <span class="relative flex size-2">
|
|
|
- <span
|
|
|
- class="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"
|
|
|
- />
|
|
|
- <span class="relative inline-flex rounded-full size-2 bg-green-500" />
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- <div class=" translate-y-[0.5px]">{$i18n.t('Execute code for analysis')}</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- {/if}
|
|
|
-
|
|
|
{#if atSelectedModel !== undefined}
|
|
|
<div class="flex items-center justify-between w-full">
|
|
|
<div class="pl-[1px] flex items-center gap-2 text-sm dark:text-gray-500">
|
|
@@ -583,7 +535,7 @@
|
|
|
}}
|
|
|
>
|
|
|
<div
|
|
|
- class="flex-1 flex flex-col relative w-full rounded-3xl px-1 bg-gray-600/5 dark:bg-gray-400/5 dark:text-gray-100"
|
|
|
+ class="flex-1 flex flex-col relative w-full shadow-lg rounded-3xl border border-gray-100 dark:border-gray-800 px-1 bg-white/90 dark:bg-gray-400/5 dark:text-gray-100"
|
|
|
dir={$settings?.chatDirection ?? 'LTR'}
|
|
|
>
|
|
|
{#if files.length > 0}
|