mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:40:44 +00:00
63 lines
1.4 KiB
JSON
63 lines
1.4 KiB
JSON
{
|
|
"id": "brave",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"providerAuthEnvVars": {
|
|
"brave": ["BRAVE_API_KEY"]
|
|
},
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "brave",
|
|
"authMethods": ["api-key"],
|
|
"envVars": ["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."
|
|
},
|
|
"webSearch.baseUrl": {
|
|
"label": "Brave Search Base URL",
|
|
"help": "Optional Brave-compatible API base URL for trusted proxies. Defaults to https://api.search.brave.com."
|
|
}
|
|
},
|
|
"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"]
|
|
},
|
|
"baseUrl": {
|
|
"type": ["string", "object"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|