mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 06:45:24 +00:00
refac
This commit is contained in:
parent
1493a5fd32
commit
05c46008da
1 changed files with 18 additions and 1 deletions
|
|
@ -131,7 +131,24 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if webConfig.WEB_SEARCH_ENGINE !== ''}
|
{#if webConfig.WEB_SEARCH_ENGINE !== ''}
|
||||||
{#if webConfig.WEB_SEARCH_ENGINE === 'searxng'}
|
{#if webConfig.WEB_SEARCH_ENGINE === 'ollama_cloud'}
|
||||||
|
<div class="mb-2.5 flex w-full flex-col">
|
||||||
|
<div>
|
||||||
|
<div class=" self-center text-xs font-medium mb-1">
|
||||||
|
{$i18n.t('Ollama Cloud API Key')}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="flex w-full">
|
||||||
|
<div class="flex-1">
|
||||||
|
<SensitiveInput
|
||||||
|
placeholder={$i18n.t('Enter Ollama Cloud API Key')}
|
||||||
|
bind:value={webConfig.OLLAMA_CLOUD_WEB_SEARCH_API_KEY}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{:else if webConfig.WEB_SEARCH_ENGINE === 'searxng'}
|
||||||
<div class="mb-2.5 flex w-full flex-col">
|
<div class="mb-2.5 flex w-full flex-col">
|
||||||
<div>
|
<div>
|
||||||
<div class=" self-center text-xs font-medium mb-1">
|
<div class=" self-center text-xs font-medium mb-1">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue