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:
KastenMonster 2026-08-11 08:21:05 +02:00 committed by GitHub
parent 9122c24ea2
commit 2ac01a42be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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'}