Merge pull request #9803 from BochaAI/main

add Bocha
This commit is contained in:
Timothy Jaeryang Baek
2025-02-11 21:01:04 -08:00
committed by GitHub
6 changed files with 112 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
'brave',
'kagi',
'mojeek',
'bocha',
'serpstack',
'serper',
'serply',
@@ -195,6 +196,17 @@
bind:value={webConfig.search.mojeek_search_api_key}
/>
</div>
{:else if webConfig.search.engine === 'bocha'}
<div>
<div class=" self-center text-xs font-medium mb-1">
{$i18n.t('Bocha Search API Key')}
</div>
<SensitiveInput
placeholder={$i18n.t('Enter Bocha Search API Key')}
bind:value={webConfig.search.bocha_search_api_key}
/>
</div>
{:else if webConfig.search.engine === 'serpstack'}
<div>
<div class=" self-center text-xs font-medium mb-1">