mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
feat: Add openserp as a provider in the ui (#27594)
* add OpenSerp Option * fix: change input label to the docs label --------- Co-authored-by: KastenMonster <kastenmonster@groundonline.de>
This commit is contained in:
parent
9122c24ea2
commit
2ac01a42be
1 changed files with 21 additions and 1 deletions
|
|
@ -46,7 +46,8 @@
|
|||
'external',
|
||||
'yandex',
|
||||
'youcom',
|
||||
'linkup'
|
||||
'linkup',
|
||||
'openserp'
|
||||
];
|
||||
let webLoaderEngines = ['playwright', 'firecrawl', 'tavily', 'microsoft_web_iq', 'external'];
|
||||
|
||||
|
|
@ -1010,6 +1011,25 @@
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
{:else if webConfig.WEB_SEARCH_ENGINE === 'openserp'}
|
||||
<div class="mb-2.5 flex w-full flex-col">
|
||||
<div>
|
||||
<div class=" self-center text-xs text-gray-600 dark:text-gray-400 mb-1">
|
||||
{$i18n.t('OpenSERP URL')}
|
||||
</div>
|
||||
|
||||
<div class="flex-1">
|
||||
<input
|
||||
class="w-full rounded-lg border border-gray-100/50 bg-gray-50/40 px-2 py-1.5 text-xs text-gray-700 outline-hidden transition-colors focus:border-blue-400 dark:border-white/[0.04] dark:bg-white/[0.03] dark:text-gray-300 dark:focus:border-blue-500"
|
||||
type="text"
|
||||
placeholder={$i18n.t('Enter OpenSERP Base URL')}
|
||||
bind:value={webConfig.OPENSERP_BASE_URL}
|
||||
autocomplete="off"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if webConfig.WEB_SEARCH_ENGINE === 'duckduckgo'}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue