mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-04 05:42:02 +00:00
* feat(web-search): add bundled searxng plugin * test(web-search): cover searxng config wiring * test(web-search): include searxng in bundled provider inventory * test(web-search): keep searxng ordering aligned * fix(web-search): sanitize searxng result rows --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
42 lines
1.0 KiB
JSON
42 lines
1.0 KiB
JSON
{
|
|
"id": "searxng",
|
|
"uiHints": {
|
|
"webSearch.baseUrl": {
|
|
"label": "SearXNG Base URL",
|
|
"help": "Base URL of your SearXNG instance, such as http://localhost:8080 or https://search.example.com/searxng."
|
|
},
|
|
"webSearch.categories": {
|
|
"label": "SearXNG Categories",
|
|
"help": "Optional comma-separated categories such as general, news, or science."
|
|
},
|
|
"webSearch.language": {
|
|
"label": "SearXNG Language",
|
|
"help": "Optional language code for results such as en, de, or fr."
|
|
}
|
|
},
|
|
"contracts": {
|
|
"webSearchProviders": ["searxng"]
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"webSearch": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"baseUrl": {
|
|
"type": ["string", "object"]
|
|
},
|
|
"categories": {
|
|
"type": "string"
|
|
},
|
|
"language": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|