forked from HKUDS/DeepCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnanobot_config.json.example
More file actions
52 lines (52 loc) · 1.1 KB
/
nanobot_config.json.example
File metadata and controls
52 lines (52 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"_comment": "nanobot configuration for DeepCode integration. Copy to nanobot_config.json and fill in your keys.",
"channels": {
"feishu": {
"enabled": true,
"appId": "your_feishu_app_id",
"appSecret": "your_feishu_app_secret",
"encryptKey": "",
"verificationToken": "",
"allowFrom": []
},
"telegram": {
"enabled": false,
"token": "your_telegram_bot_token",
"allowFrom": []
},
"discord": {
"enabled": false,
"token": "your_discord_bot_token",
"allowFrom": []
}
},
"providers": {
"openrouter": {
"apiKey": "sk-or-v1-your_openrouter_key"
}
},
"agents": {
"defaults": {
"model": "anthropic/claude-sonnet-4-20250514",
"workspace": "/root/.nanobot/workspace",
"maxTokens": 8192,
"temperature": 0.7
}
},
"gateway": {
"host": "0.0.0.0",
"port": 18790
},
"tools": {
"web": {
"search": {
"apiKey": "your_brave_search_api_key",
"maxResults": 5
}
},
"exec": {
"timeout": 120
},
"restrictToWorkspace": false
}
}