Files
gori-agent/config.example.json
T
2026-08-15 16:56:58 +08:00

67 lines
1.4 KiB
JSON

{
"server": {
"host": "0.0.0.0",
"port": 3000,
"publicBaseUrl": ""
},
"policy": {
"allowedUsers": [],
"allowedChats": [],
"requireMentionInGroup": true
},
"defaultAgent": "echo",
"agents": [
{
"name": "echo",
"command": "node",
"args": ["scripts/echo-agent.js"],
"inputMode": "stdin",
"timeoutMs": 30000,
"outputMaxBytes": 64000
},
{
"name": "kimi",
"command": "kimi",
"args": ["-p"],
"inputMode": "arg",
"timeoutMs": 120000,
"outputMaxBytes": 64000
}
],
"platforms": {
"feishu": {
"enabled": false,
"appId": "cli_xxx",
"appSecret": "replace-me",
"verificationToken": "replace-me",
"botNames": ["Gori Agent"]
},
"wecom": {
"enabled": false,
"corpId": "wwxxxx",
"agentId": "1000001",
"secret": "replace-me"
},
"qq": {
"enabled": false,
"connectionMode": "websocket",
"appId": "1020xxxx",
"clientSecret": "replace-me",
"botSecret": "replace-me",
"verifySignature": true,
"botNames": ["Gori Agent"],
"intents": 33554432,
"shard": [0, 1]
},
"webhook": {
"enabled": true,
"secret": "replace-me"
},
"weixin": {
"enabled": false,
"mode": "external-webhook",
"secret": "replace-me"
}
}
}