mirror of
https://fastgit.cc/github.com/openclaw/openclaw
synced 2026-04-30 14:02:56 +08:00
47 lines
1.0 KiB
JSON
47 lines
1.0 KiB
JSON
{
|
|
"id": "brave",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"providerAuthEnvVars": {
|
|
"brave": ["BRAVE_API_KEY"]
|
|
},
|
|
"uiHints": {
|
|
"webSearch.apiKey": {
|
|
"label": "Brave Search API Key",
|
|
"help": "Brave Search API key (fallback: BRAVE_API_KEY env var).",
|
|
"sensitive": true,
|
|
"placeholder": "BSA..."
|
|
},
|
|
"webSearch.mode": {
|
|
"label": "Brave Search Mode",
|
|
"help": "Brave Search mode: web or llm-context."
|
|
}
|
|
},
|
|
"contracts": {
|
|
"webSearchProviders": ["brave"]
|
|
},
|
|
"configContracts": {
|
|
"compatibilityRuntimePaths": ["tools.web.search.apiKey"]
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"webSearch": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"apiKey": {
|
|
"type": ["string", "object"]
|
|
},
|
|
"mode": {
|
|
"type": "string",
|
|
"enum": ["web", "llm-context"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|