mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
f68d1ba394
commit
031cf38655
1 changed files with 24 additions and 22 deletions
|
|
@ -1420,30 +1420,32 @@
|
||||||
|
|
||||||
<div class="flex self-center w-[1px] h-4 mx-1 bg-gray-50 dark:bg-gray-800" />
|
<div class="flex self-center w-[1px] h-4 mx-1 bg-gray-50 dark:bg-gray-800" />
|
||||||
|
|
||||||
<IntegrationsMenu
|
{#if showWebSearchButton || showImageGenerationButton || showCodeInterpreterButton || showToolsButton || (toggleFilters && toggleFilters.length > 0)}
|
||||||
selectedModels={atSelectedModel ? [atSelectedModel.id] : selectedModels}
|
<IntegrationsMenu
|
||||||
{toggleFilters}
|
selectedModels={atSelectedModel ? [atSelectedModel.id] : selectedModels}
|
||||||
{showWebSearchButton}
|
{toggleFilters}
|
||||||
{showImageGenerationButton}
|
{showWebSearchButton}
|
||||||
{showCodeInterpreterButton}
|
{showImageGenerationButton}
|
||||||
bind:selectedToolIds
|
{showCodeInterpreterButton}
|
||||||
bind:selectedFilterIds
|
bind:selectedToolIds
|
||||||
bind:webSearchEnabled
|
bind:selectedFilterIds
|
||||||
bind:imageGenerationEnabled
|
bind:webSearchEnabled
|
||||||
bind:codeInterpreterEnabled
|
bind:imageGenerationEnabled
|
||||||
onClose={async () => {
|
bind:codeInterpreterEnabled
|
||||||
await tick();
|
onClose={async () => {
|
||||||
|
await tick();
|
||||||
|
|
||||||
const chatInput = document.getElementById('chat-input');
|
const chatInput = document.getElementById('chat-input');
|
||||||
chatInput?.focus();
|
chatInput?.focus();
|
||||||
}}
|
}}
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="bg-transparent hover:bg-gray-100 text-gray-700 dark:text-white dark:hover:bg-gray-800 rounded-full size-8 flex justify-center items-center outline-hidden focus:outline-hidden"
|
|
||||||
>
|
>
|
||||||
<Component className="size-4.5" strokeWidth="1.5" />
|
<div
|
||||||
</div>
|
class="bg-transparent hover:bg-gray-100 text-gray-700 dark:text-white dark:hover:bg-gray-800 rounded-full size-8 flex justify-center items-center outline-hidden focus:outline-hidden"
|
||||||
</IntegrationsMenu>
|
>
|
||||||
|
<Component className="size-4.5" strokeWidth="1.5" />
|
||||||
|
</div>
|
||||||
|
</IntegrationsMenu>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<div class="ml-1 flex gap-1.5">
|
<div class="ml-1 flex gap-1.5">
|
||||||
{#if showToolsButton}
|
{#if showToolsButton}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue