Initial gori agent gateway
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"server": {
|
||||
"host": "0.0.0.0",
|
||||
"port": 3000
|
||||
},
|
||||
"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": [],
|
||||
"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,
|
||||
"appId": "1020xxxx",
|
||||
"clientSecret": "replace-me"
|
||||
},
|
||||
"webhook": {
|
||||
"enabled": true,
|
||||
"secret": "replace-me"
|
||||
},
|
||||
"weixin": {
|
||||
"enabled": false,
|
||||
"mode": "external-webhook",
|
||||
"secret": "replace-me"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user