-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.example.json
More file actions
87 lines (87 loc) · 2.47 KB
/
Copy pathconfig.example.json
File metadata and controls
87 lines (87 loc) · 2.47 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"shared": {
"ownerTelegramId": "123456789",
"cwd": "/Users/you",
"httpProxy": "",
"defaultVerboseLevel": 1,
"executor": "direct",
"tasksDb": "tasks.db",
"taskRetentionDays": 14,
"taskRetentionMinRows": 200,
"enableGroupSharedContext": true,
"discussChatIds": [],
"groupContextMaxMessages": 30,
"groupContextMaxTokens": 3000,
"groupContextTtlMs": 1200000,
"sharedContextBackend": "sqlite",
"sharedContextDb": "shared-context.db",
"sharedContextJsonPath": "shared-context.json",
"redisUrl": "redis://localhost:6379",
"triggerDedupTtlMs": 300000,
"sessionTimeoutMs": 900000,
"a2aEnabled": false,
"a2aPorts": { "claude": 18810, "codex": 18811, "gemini": 18812, "agy": 18813, "kimi": 18814 },
"a2aToolMode": "read-only",
"a2aCooldownMs": 60000,
"a2aMaxResponsesPerWindow": 3,
"a2aWindowMs": 300000,
"a2aCircuitBreakerThreshold": 3,
"a2aCircuitBreakerResetMs": 30000,
"streamPreviewEnabled": true,
"streamPreviewIntervalMs": 700,
"streamPreviewMinDeltaChars": 20,
"streamPreviewMaxChars": 3900,
"streamPreviewActivationChars": 50,
"rateLimitMaxRequests": 10,
"rateLimitWindowMs": 60000,
"idleTimeoutMs": 1800000,
"resetOnIdleMs": 0,
"cronEnabled": true,
"cronMaxJobs": 10,
"cronDefaultTimeoutMs": 600000,
"historyBots": { "claude": "@your_claude_bot", "kimi": "@your_kimi_bot" }
},
"backends": {
"claude": {
"enabled": true,
"telegramBotToken": "123456:replace-me",
"sessionsDb": "sessions.db",
"model": "claude-sonnet-4-7",
"defaultEffort": "",
"permissionMode": "default"
},
"codex": {
"enabled": true,
"telegramBotToken": "123456:replace-me",
"sessionsDb": "sessions-codex.db",
"model": "",
"serviceTier": "",
"defaultEffort": "",
"transport": "sdk"
},
"gemini": {
"enabled": false,
"telegramBotToken": "",
"sessionsDb": "sessions-gemini.db",
"model": "gemini-2.5-pro",
"oauthClientId": "",
"oauthClientSecret": "",
"googleCloudProject": ""
},
"agy": {
"enabled": false,
"telegramBotToken": "",
"sessionsDb": "sessions-agy.db",
"model": "gemini-3.8-flash-high",
"defaultEffort": "high",
"timeoutMs": 1800000
},
"kimi": {
"enabled": false,
"telegramBotToken": "",
"sessionsDb": "sessions-kimi.db",
"model": "",
"timeoutMs": 1800000
}
}
}