docs(config): add missing duckduckgo, exec, and qq sections to example config
config.example.json was missing three sections that exist in the Go config structs and defaults: - tools.web.duckduckgo: DuckDuckGo is enabled by default in defaults.go and requires no API key (free search provider), but users who copy the example config silently lose it since the section was omitted. - tools.exec: The ExecConfig struct supports enable_deny_patterns and custom_deny_patterns for security hardening, but users had no way to discover these options from the example. - channels.qq: The QQ channel was the only channel in ChannelsConfig missing from the example while all others were present. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
e599573ed4
commit
be55204696
1 changed files with 14 additions and 0 deletions
|
|
@ -59,6 +59,12 @@
|
||||||
"token": "YOUR_DISCORD_BOT_TOKEN",
|
"token": "YOUR_DISCORD_BOT_TOKEN",
|
||||||
"allow_from": []
|
"allow_from": []
|
||||||
},
|
},
|
||||||
|
"qq": {
|
||||||
|
"enabled": false,
|
||||||
|
"app_id": "YOUR_QQ_APP_ID",
|
||||||
|
"app_secret": "YOUR_QQ_APP_SECRET",
|
||||||
|
"allow_from": []
|
||||||
|
},
|
||||||
"maixcam": {
|
"maixcam": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"host": "0.0.0.0",
|
"host": "0.0.0.0",
|
||||||
|
|
@ -172,6 +178,10 @@
|
||||||
"api_key": "YOUR_BRAVE_API_KEY",
|
"api_key": "YOUR_BRAVE_API_KEY",
|
||||||
"max_results": 5
|
"max_results": 5
|
||||||
},
|
},
|
||||||
|
"duckduckgo": {
|
||||||
|
"enabled": true,
|
||||||
|
"max_results": 5
|
||||||
|
},
|
||||||
"perplexity": {
|
"perplexity": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"api_key": "pplx-xxx",
|
"api_key": "pplx-xxx",
|
||||||
|
|
@ -180,6 +190,10 @@
|
||||||
},
|
},
|
||||||
"cron": {
|
"cron": {
|
||||||
"exec_timeout_minutes": 5
|
"exec_timeout_minutes": 5
|
||||||
|
},
|
||||||
|
"exec": {
|
||||||
|
"enable_deny_patterns": false,
|
||||||
|
"custom_deny_patterns": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"heartbeat": {
|
"heartbeat": {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue