What: switch to 你/你的 tone; standardize Skills/Gateway网关/local loopback/私信 wording Why: align zh-CN docs with issue 6995 feedback + idiomatic tech style Tests: pnpm docs:build
1.2 KiB
1.2 KiB
read_when, summary, title, x-i18n
| read_when | summary | title | x-i18n | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
为 web_search 设置 Brave Search API | Brave Search |
|
Brave Search API
OpenClaw 使用 Brave Search 作为 web_search 的默认提供商。
获取 API 密钥
- 在 https://brave.com/search/api/ 创建 Brave Search API 账户。
- 在控制面板中,选择 Data for Search 套餐并生成 API 密钥。
- 将密钥存储在配置中(推荐)或在 Gateway网关环境中设置
BRAVE_API_KEY。
配置示例
{
tools: {
web: {
search: {
provider: "brave",
apiKey: "BRAVE_API_KEY_HERE",
maxResults: 5,
timeoutSeconds: 30,
},
},
},
}
说明
- Data for AI 套餐与
web_search不兼容。 - Brave 提供免费套餐和付费套餐;请查看 Brave API 门户了解当前限制。
完整的 web_search 配置请参阅 Web 工具。