325 lines
7.2 KiB
JSON
325 lines
7.2 KiB
JSON
{
|
|
"agents": {
|
|
"defaults": {
|
|
"workspace": "~/.nanobot/workspace",
|
|
"model": "kimi-k2.5",
|
|
"provider": "moonshot",
|
|
"maxTokens": 8192,
|
|
"contextWindowTokens": 65536,
|
|
"temperature": 0.1,
|
|
"maxToolIterations": 40,
|
|
"reasoningEffort": null,
|
|
"timezone": "UTC"
|
|
}
|
|
},
|
|
"channels": {
|
|
"sendProgress": true,
|
|
"sendToolHints": false,
|
|
"sendMaxRetries": 3,
|
|
"whatsapp": {
|
|
"enabled": false,
|
|
"bridgeUrl": "ws://localhost:3001",
|
|
"bridgeToken": "",
|
|
"allowFrom": [],
|
|
"groupPolicy": "open"
|
|
},
|
|
"telegram": {
|
|
"enabled": false,
|
|
"token": "",
|
|
"allowFrom": [],
|
|
"proxy": null,
|
|
"replyToMessage": false,
|
|
"groupPolicy": "mention",
|
|
"reactEmoji": "👀",
|
|
"connectionPoolSize": 32,
|
|
"poolTimeout": 5.0,
|
|
"streaming": true
|
|
},
|
|
"discord": {
|
|
"enabled": false,
|
|
"token": "",
|
|
"allowFrom": [],
|
|
"gatewayUrl": "wss://gateway.discord.gg/?v=10&encoding=json",
|
|
"intents": 37377,
|
|
"groupPolicy": "mention"
|
|
},
|
|
"feishu": {
|
|
"enabled": false,
|
|
"appId": "",
|
|
"appSecret": "",
|
|
"encryptKey": "",
|
|
"verificationToken": "",
|
|
"allowFrom": [],
|
|
"reactEmoji": "THUMBSUP",
|
|
"groupPolicy": "mention",
|
|
"replyToMessage": false,
|
|
"streaming": true
|
|
},
|
|
"mochat": {
|
|
"enabled": false,
|
|
"baseUrl": "https://mochat.io",
|
|
"socketUrl": "",
|
|
"socketPath": "/socket.io",
|
|
"socketDisableMsgpack": false,
|
|
"socketReconnectDelayMs": 1000,
|
|
"socketMaxReconnectDelayMs": 10000,
|
|
"socketConnectTimeoutMs": 10000,
|
|
"refreshIntervalMs": 30000,
|
|
"watchTimeoutMs": 25000,
|
|
"watchLimit": 100,
|
|
"retryDelayMs": 500,
|
|
"maxRetryAttempts": 0,
|
|
"clawToken": "",
|
|
"agentUserId": "",
|
|
"sessions": [],
|
|
"panels": [],
|
|
"allowFrom": [],
|
|
"mention": {
|
|
"requireInGroups": false
|
|
},
|
|
"groups": {},
|
|
"replyDelayMode": "non-mention",
|
|
"replyDelayMs": 120000
|
|
},
|
|
"dingtalk": {
|
|
"enabled": false,
|
|
"clientId": "",
|
|
"clientSecret": "",
|
|
"allowFrom": []
|
|
},
|
|
"email": {
|
|
"enabled": true,
|
|
"consentGranted": true,
|
|
"imapHost": "imap.163.com",
|
|
"imapPort": 993,
|
|
"imapUsername": "wensincai@163.com",
|
|
"imapPassword": "AXqLZkyAZqfjQSsM",
|
|
"imapMailbox": "INBOX",
|
|
"imapUseSsl": true,
|
|
"smtpHost": "smtp.163.com",
|
|
"smtpPort": 465,
|
|
"smtpUsername": "wensincai@163.com",
|
|
"smtpPassword": "AXqLZkyAZqfjQSsM",
|
|
"smtpUseTls": false,
|
|
"smtpUseSsl": true,
|
|
"fromAddress": "wensincai@163.com",
|
|
"autoReplyEnabled": true,
|
|
"pollIntervalSeconds": 30,
|
|
"markSeen": true,
|
|
"maxBodyChars": 12000,
|
|
"subjectPrefix": "Re: ",
|
|
"allowFrom": [
|
|
"*"
|
|
],
|
|
"verifyDkim": true,
|
|
"verifySpf": true
|
|
},
|
|
"slack": {
|
|
"enabled": false,
|
|
"mode": "socket",
|
|
"webhookPath": "/slack/events",
|
|
"botToken": "",
|
|
"appToken": "",
|
|
"userTokenReadOnly": true,
|
|
"replyInThread": true,
|
|
"reactEmoji": "eyes",
|
|
"allowFrom": [],
|
|
"groupPolicy": "mention",
|
|
"groupAllowFrom": [],
|
|
"dm": {
|
|
"enabled": true,
|
|
"policy": "open",
|
|
"allowFrom": []
|
|
},
|
|
"doneEmoji": "white_check_mark"
|
|
},
|
|
"qq": {
|
|
"enabled": true,
|
|
"appId": "1903113944",
|
|
"secret": "gDkHoMuS0Y6eDmLuT2cCmMwW7iJuV6hJ",
|
|
"allowFrom": [
|
|
"*"
|
|
],
|
|
"msgFormat": "plain",
|
|
"mediaDir": "",
|
|
"downloadChunkSize": 262144,
|
|
"downloadMaxBytes": 209715200
|
|
},
|
|
"matrix": {
|
|
"enabled": false,
|
|
"homeserver": "https://matrix.org",
|
|
"accessToken": "",
|
|
"userId": "",
|
|
"deviceId": "",
|
|
"e2EeEnabled": true,
|
|
"syncStopGraceSeconds": 2,
|
|
"maxMediaBytes": 20971520,
|
|
"allowFrom": [],
|
|
"groupPolicy": "open",
|
|
"groupAllowFrom": [],
|
|
"allowRoomMentions": false
|
|
},
|
|
"wecom": {
|
|
"enabled": false,
|
|
"botId": "",
|
|
"secret": "",
|
|
"allowFrom": [],
|
|
"welcomeMessage": ""
|
|
},
|
|
"weixin": {
|
|
"enabled": false,
|
|
"allowFrom": [],
|
|
"baseUrl": "https://ilinkai.weixin.qq.com",
|
|
"cdnBaseUrl": "https://novac2c.cdn.weixin.qq.com/c2c",
|
|
"routeTag": null,
|
|
"token": "",
|
|
"stateDir": "",
|
|
"pollTimeout": 35
|
|
}
|
|
},
|
|
"providers": {
|
|
"custom": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"azureOpenai": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"anthropic": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"openai": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"openrouter": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"deepseek": {
|
|
"apiKey": "sk-8cb88f614b5b4def882d0ac46025cdcc",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"groq": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"zhipu": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"dashscope": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"vllm": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"ollama": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"ovms": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"gemini": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"moonshot": {
|
|
"apiKey": "sk-9EK1D6OWE81AsRE8pxjOaQKG5ws4FGpPrgb1VhQoMny3KzCU",
|
|
"apiBase": "https://api.moonshot.cn/v1",
|
|
"extraHeaders": null
|
|
},
|
|
"minimax": {
|
|
"apiKey": "sk-api-Vq7bg2vURW9kKaqoeq6BHTHF_m-t4bjrbQtawzL3vuDJFwNT50N4OE7jX0ZeM46dwmAwki5Mx7jatZMpyvfEP7s3Ug6fn4rG2qggMbZzHsvV5nU4H5-OxXA",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"mistral": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"stepfun": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"aihubmix": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"siliconflow": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"volcengine": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"volcengineCodingPlan": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"byteplus": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
},
|
|
"byteplusCodingPlan": {
|
|
"apiKey": "",
|
|
"apiBase": null,
|
|
"extraHeaders": null
|
|
}
|
|
},
|
|
"gateway": {
|
|
"host": "0.0.0.0",
|
|
"port": 18790,
|
|
"heartbeat": {
|
|
"enabled": true,
|
|
"intervalS": 1800,
|
|
"keepRecentMessages": 8
|
|
}
|
|
},
|
|
"tools": {
|
|
"web": {
|
|
"proxy": null,
|
|
"search": {
|
|
"provider": "brave",
|
|
"apiKey": "",
|
|
"baseUrl": "",
|
|
"maxResults": 5
|
|
}
|
|
},
|
|
"exec": {
|
|
"enable": true,
|
|
"timeout": 60,
|
|
"pathAppend": ""
|
|
},
|
|
"restrictToWorkspace": false,
|
|
"mcpServers": {}
|
|
}
|
|
}
|