feat: add web search config

This commit is contained in:
qixinbo
2026-03-29 19:34:58 +08:00
parent fb4fc7437f
commit 99b654bbd2
9 changed files with 308 additions and 5 deletions
+13 -1
View File
@@ -383,5 +383,17 @@
"voiceSettingsDisabledHint": "Enable voice input first, then configure server URL",
"voiceInputDisabledHint": "Please enable voice input first",
"voiceInputNotEnabled": "Voice input is disabled. Enable it from profile menu -> More -> Voice Input Settings first.",
"embeddingModels": "Embedding Models"
"embeddingModels": "Embedding Models",
"webSearchConfig": "Web Search Config",
"configureWebSearchProvider": "Configure the default web search provider and settings for the AI agent.",
"selectProvider": "Select a provider",
"enterApiKey": "Enter API Key",
"apiKeyRequiredFor": "An API Key is required for {{provider}}",
"baseUrl": "Base URL",
"baseUrlRequiredFor": "A Base URL is required for {{provider}}",
"maxResults": "Max Results",
"maxResultsDescription": "Maximum number of search results to return (1-20)",
"failedToLoadConfig": "Failed to load configuration",
"failedToSaveConfig": "Failed to save configuration",
"configSaved": "Configuration saved successfully. Note: Active agents may require a restart to pick up the new configuration."
}
+13 -1
View File
@@ -384,5 +384,17 @@
"voiceSettingsDisabledHint": "请先开启语音输入,再配置服务地址",
"voiceInputDisabledHint": "请先开启语音输入",
"voiceInputNotEnabled": "语音输入未开启,请先到左下角用户名 -> 更多 -> 语音输入配置中开启",
"embeddingModels": "Embedding 模型"
"embeddingModels": "Embedding 模型",
"webSearchConfig": "Web 搜索配置",
"configureWebSearchProvider": "配置 AI 智能体默认的网页搜索提供商及参数。",
"selectProvider": "选择提供商",
"enterApiKey": "输入 API Key",
"apiKeyRequiredFor": "{{provider}} 需要提供 API Key",
"baseUrl": "基础 URL",
"baseUrlRequiredFor": "{{provider}} 需要提供基础 URL",
"maxResults": "最大结果数",
"maxResultsDescription": "搜索返回的最大结果数量 (1-20)",
"failedToLoadConfig": "加载配置失败",
"failedToSaveConfig": "保存配置失败",
"configSaved": "配置保存成功。注意:活跃的智能体可能需要重启新会话才能应用新配置。"
}