refactor web search config ownership into extensions

This commit is contained in:
Tak Hoffman
2026-03-17 23:29:52 -05:00
committed by Val Alexander
parent 84cf8c32aa
commit a03f43d5bd
29 changed files with 856 additions and 304 deletions

View File

@@ -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"
}
}
}
}
}
}