mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-30 10:30:46 +00:00
refactor web search config ownership into extensions
This commit is contained in:
committed by
Val Alexander
parent
84cf8c32aa
commit
a03f43d5bd
@@ -1,8 +1,40 @@
|
||||
{
|
||||
"id": "perplexity",
|
||||
"uiHints": {
|
||||
"webSearch.apiKey": {
|
||||
"label": "Perplexity API Key",
|
||||
"help": "Perplexity or OpenRouter API key for web search.",
|
||||
"sensitive": true,
|
||||
"placeholder": "pplx-..."
|
||||
},
|
||||
"webSearch.baseUrl": {
|
||||
"label": "Perplexity Base URL",
|
||||
"help": "Optional Perplexity/OpenRouter chat-completions base URL override."
|
||||
},
|
||||
"webSearch.model": {
|
||||
"label": "Perplexity Model",
|
||||
"help": "Optional Sonar/OpenRouter model override."
|
||||
}
|
||||
},
|
||||
"configSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
"properties": {
|
||||
"webSearch": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"apiKey": {
|
||||
"type": ["string", "object"]
|
||||
},
|
||||
"baseUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"model": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user