first commit
This commit is contained in:
315
nanobot-config/config.json
Normal file
315
nanobot-config/config.json
Normal file
@@ -0,0 +1,315 @@
|
||||
{
|
||||
"agents": {
|
||||
"defaults": {
|
||||
"workspace": "~/.nanobot/workspace",
|
||||
"model": "glm-4.7",
|
||||
"provider": "zhipu",
|
||||
"maxTokens": 8192,
|
||||
"temperature": 0.1,
|
||||
"maxToolIterations": 20,
|
||||
"memoryWindow": 100,
|
||||
"reasoningEffort": null
|
||||
}
|
||||
},
|
||||
"channels": {
|
||||
"sendProgress": false,
|
||||
"sendToolHints": false,
|
||||
"whatsapp": {
|
||||
"enabled": false,
|
||||
"bridgeUrl": "ws://localhost:3001",
|
||||
"bridgeToken": "",
|
||||
"allowFrom": []
|
||||
},
|
||||
"telegram": {
|
||||
"enabled": false,
|
||||
"token": "",
|
||||
"allowFrom": [],
|
||||
"proxy": null,
|
||||
"replyToMessage": false
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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": false,
|
||||
"consentGranted": false,
|
||||
"imapHost": "",
|
||||
"imapPort": 993,
|
||||
"imapUsername": "",
|
||||
"imapPassword": "",
|
||||
"imapMailbox": "INBOX",
|
||||
"imapUseSsl": true,
|
||||
"smtpHost": "",
|
||||
"smtpPort": 587,
|
||||
"smtpUsername": "",
|
||||
"smtpPassword": "",
|
||||
"smtpUseTls": true,
|
||||
"smtpUseSsl": false,
|
||||
"fromAddress": "",
|
||||
"autoReplyEnabled": true,
|
||||
"pollIntervalSeconds": 30,
|
||||
"markSeen": true,
|
||||
"maxBodyChars": 12000,
|
||||
"subjectPrefix": "Re: ",
|
||||
"allowFrom": []
|
||||
},
|
||||
"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": []
|
||||
}
|
||||
},
|
||||
"qq": {
|
||||
"enabled": true,
|
||||
"appId": "1903534139",
|
||||
"secret": "Q0bCoQ3gKydJzgN5nWFzjUF1nZM9xlaP",
|
||||
"allowFrom": [
|
||||
"*"
|
||||
]
|
||||
},
|
||||
"web": {
|
||||
"enabled": false,
|
||||
"host": "0.0.0.0",
|
||||
"port": 9000,
|
||||
"allowFrom": [
|
||||
"*"
|
||||
],
|
||||
"apiToken": "",
|
||||
"authEnabled": false,
|
||||
"authServiceUrl": "http://127.0.0.1:9100",
|
||||
"authServiceTimeoutS": 8,
|
||||
"corsOrigin": "*",
|
||||
"historySize": 200,
|
||||
"pingIntervalS": 15
|
||||
},
|
||||
"matrix": {
|
||||
"enabled": false,
|
||||
"homeserver": "https://matrix.org",
|
||||
"accessToken": "",
|
||||
"userId": "",
|
||||
"deviceId": "",
|
||||
"e2EeEnabled": true,
|
||||
"syncStopGraceSeconds": 2,
|
||||
"maxMediaBytes": 20971520,
|
||||
"allowFrom": [],
|
||||
"groupPolicy": "open",
|
||||
"groupAllowFrom": [],
|
||||
"allowRoomMentions": false
|
||||
}
|
||||
},
|
||||
"providers": {
|
||||
"custom": {
|
||||
"apiKey": "sk-1OR52Xzd5JsBkROOgjGsVV53sBR9oY9g7SmGqUKs12azozFC",
|
||||
"apiBase": "https://api.qingyuntop.top/v1",
|
||||
"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": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
},
|
||||
"groq": {
|
||||
"apiKey": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
},
|
||||
"zhipu": {
|
||||
"apiKey": "f0abad6ca6d54c6aa367cb9350d30919.EIRG6EC0KxaRzYLX",
|
||||
"apiBase": "https://open.bigmodel.cn/api/coding/paas/v4",
|
||||
"extraHeaders": null
|
||||
},
|
||||
"dashscope": {
|
||||
"apiKey": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
},
|
||||
"vllm": {
|
||||
"apiKey": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
},
|
||||
"gemini": {
|
||||
"apiKey": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
},
|
||||
"moonshot": {
|
||||
"apiKey": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
},
|
||||
"minimax": {
|
||||
"apiKey": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
},
|
||||
"aihubmix": {
|
||||
"apiKey": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
},
|
||||
"siliconflow": {
|
||||
"apiKey": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
},
|
||||
"volcengine": {
|
||||
"apiKey": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
},
|
||||
"openaiCodex": {
|
||||
"apiKey": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
},
|
||||
"githubCopilot": {
|
||||
"apiKey": "",
|
||||
"apiBase": null,
|
||||
"extraHeaders": null
|
||||
}
|
||||
},
|
||||
"gateway": {
|
||||
"host": "0.0.0.0",
|
||||
"port": 18790,
|
||||
"heartbeat": {
|
||||
"enabled": true,
|
||||
"intervalS": 1800
|
||||
}
|
||||
},
|
||||
"tools": {
|
||||
"web": {
|
||||
"proxy": null,
|
||||
"search": {
|
||||
"apiKey": "",
|
||||
"maxResults": 5
|
||||
}
|
||||
},
|
||||
"exec": {
|
||||
"timeout": 60,
|
||||
"pathAppend": ""
|
||||
},
|
||||
"restrictToWorkspace": false,
|
||||
"mcpServers": {
|
||||
"web-search-prime": {
|
||||
"type": null,
|
||||
"command": "",
|
||||
"args": [],
|
||||
"env": {},
|
||||
"url": "https://open.bigmodel.cn/api/mcp/web_search_prime/mcp",
|
||||
"headers": {
|
||||
"Authorization": "Bearer f0abad6ca6d54c6aa367cb9350d30919.EIRG6EC0KxaRzYLX"
|
||||
},
|
||||
"toolTimeout": 30
|
||||
},
|
||||
"mars-datacube": {
|
||||
"type": null,
|
||||
"command": "uv",
|
||||
"args": [
|
||||
"run",
|
||||
"--directory",
|
||||
"/home/la-mars/studio/mars-mcp",
|
||||
"python",
|
||||
"server.py"
|
||||
],
|
||||
"env": {},
|
||||
"url": "",
|
||||
"headers": {},
|
||||
"toolTimeout": 60
|
||||
},
|
||||
"map-mcp": {
|
||||
"type": null,
|
||||
"command": "uv",
|
||||
"args": [
|
||||
"run",
|
||||
"--directory",
|
||||
"/home/la-mars/studio/map-mcp",
|
||||
"python",
|
||||
"server.py"
|
||||
],
|
||||
"env": {},
|
||||
"url": "",
|
||||
"headers": {},
|
||||
"toolTimeout": 30
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user