Files
gori-agent/config.example.json
T
2026-08-16 11:07:33 +08:00

82 lines
1.6 KiB
JSON

{
"configVersion": 2,
"server": {
"host": "0.0.0.0",
"port": 8787,
"publicBaseUrl": ""
},
"policy": {
"allowedUsers": [],
"allowedChats": [],
"requireMentionInGroup": true
},
"acp": {
"stateFile": "",
"initializeTimeoutMs": 10000,
"promptTimeoutMs": 600000,
"cancelGraceMs": 5000,
"idleTimeoutMs": 1800000,
"sweepIntervalMs": 60000,
"maxProcesses": 8
},
"backends": [
{
"id": "kimi",
"command": "/home/USER/.kimi-code/bin/kimi",
"args": ["acp"],
"env": {}
}
],
"skills": [],
"defaultRole": "ROLE_ID",
"roles": [
{
"id": "ROLE_ID",
"backend": "kimi",
"workspace": "/absolute/path/to/workspace",
"persona": "Describe this agent's responsibilities and boundaries.",
"skills": [],
"policy": {
"permissionMode": "deny",
"allowedTools": [],
"allowedCommandPatterns": []
}
}
],
"platforms": {
"feishu": {
"enabled": false,
"appId": "",
"appSecret": "",
"verificationToken": "",
"botNames": []
},
"wecom": {
"enabled": false,
"corpId": "",
"agentId": "",
"secret": ""
},
"qq": {
"enabled": true,
"connectionMode": "websocket",
"appId": "QQ_APP_ID",
"clientSecret": "QQ_CLIENT_SECRET",
"botSecret": "",
"verifySignature": true,
"botNames": ["QQ_BOT_NAME"],
"intents": 33554432,
"shard": [0, 1]
},
"webhook": {
"enabled": false,
"secret": ""
},
"weixin": {
"enabled": false,
"mode": "external-webhook",
"secret": ""
}
}
}