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">

View File

@@ -363,6 +363,7 @@
"Enter Model ID": "输入模型 ID",
"Enter model tag (e.g. {{modelTag}})": "输入模型标签 (例如:{{modelTag}})",
"Enter Mojeek Search API Key": "输入 Mojeek Search API 密钥",
"Enter Bocha Search API Key": "输入 Bocha Search API 密钥",
"Enter Number of Steps (e.g. 50)": "输入步骤数 (Steps) (例如50)",
"Enter proxy URL (e.g. https://user:password@host:port)": "输入代理 URL (例如https://用户名:密码@主机名:端口)",
"Enter reasoning effort": "设置推理努力",
@@ -632,6 +633,7 @@
"Models Access": "访问模型列表",
"Models configuration saved successfully": "模型配置保存成功",
"Mojeek Search API Key": "Mojeek Search API 密钥",
"Bocha Search API Key": "Bocha Search API 密钥",
"more": "更多",
"More": "更多",
"Name": "名称",