-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathconfig.example.json
More file actions
219 lines (219 loc) · 5.93 KB
/
Copy pathconfig.example.json
File metadata and controls
219 lines (219 loc) · 5.93 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
{
"dsh": {
"baseUrl": "http://127.0.0.1:3080",
"provider": "deepseek-official",
"model": "deepseek-flash",
"reasoningEffort": "max",
"authToken": "",
"authHeader": "authorization",
"authPrefix": "Bearer"
},
"snowluma": {
"wsUrl": "ws://127.0.0.1:3001",
"httpUrl": "http://127.0.0.1:3000",
"accessToken": "",
"launcherPath": "",
"homeDir": "",
"allowProcessControl": false
},
"ownerQQ": null,
"sessionCwd": "",
"agentPreset": "qq-chat",
"workspaceTitle": "QQ 聊天",
"allow": {
"private": [],
"groups": []
},
"deny": {
"private": [],
"groups": []
},
"allowAllWhenEmpty": false,
"ackMessage": "",
"sendDelayMs": 300,
"questionTimeoutMs": 300000,
"consolePort": 3100,
"consoleToken": "",
"security": {
"interceptNotify": true
},
"slang": {
"enabled": true,
"extractMinMessages": 10,
"extractCooldownMs": 300000,
"inferenceThresholds": [
2,
4,
8
],
"injectMax": 8,
"learnerPreset": "qq-chat",
"workspaceTitle": "QQ 黑话学习",
"autoResearch": true
},
"social": {
"enabled": true,
"maxReplyChars": 500,
"mustReplyKeywords": [
"deepseek",
"小鲸鱼",
"大肥鱼",
"鲸鱼",
"d指导",
"在吗"
],
"contextWindow": 20,
"triggerProbability": 0.1,
"activeCheckMinMs": 8000,
"activeCheckMaxMs": 30000,
"idleWindowMs": 360000,
"idleRetryProbability": 0.4,
"proactiveEnabled": true,
"proactiveIdleThresholdMs": 1800000,
"proactiveCheckMinMs": 2700000,
"proactiveCheckMaxMs": 5400000,
"proactiveProbability": 0.2,
"activeReplyDelayMinMs": 1000,
"activeReplyDelayMaxMs": 5000,
"activeDurationEnabled": true,
"activeDurationMinMs": 1200000,
"activeDurationMaxMs": 3000000,
"skipProbability": 0.05,
"surrenderProbability": 0,
"idleRetryWaitMs": 120000,
"burstEnabled": true,
"burstIntervalMinMs": 1000,
"burstIntervalMaxMs": 3000,
"longGapProbability": 0.2,
"longGapMinMs": 5000,
"longGapMaxMs": 10000
},
"socialV2": {
"enabled": true,
"autoReplyCheckMs": 30000,
"agentPreset": "qq-chat-v2",
"provideRecommendations": true,
"tools": {
"getPrompt": true,
"getUnread": true,
"getRecent": true,
"socialState": true,
"sendGroup": true,
"sendPrivate": true,
"reply": true,
"sendBurst": true,
"sendMessage": true,
"waitMessages": true,
"feedback": true,
"getMyRecent": true,
"getMessageDetail": true,
"getActiveMembers": true,
"setWakeConfig": true,
"markRead": true,
"memory": true,
"slangQuery": true,
"slangSubmit": true,
"getImages": true,
"getForwardMsg": true,
"sendPoke": true,
"listStickers": true,
"getStickerImage": true,
"sendSticker": true,
"setStickerRemark": false,
"stickerNote": true,
"collectSticker": true,
"getSelfImage": true
},
"wake": {
"defaultMode": "diving",
"preSleepWaitEnabled": true,
"preSleepWaitMs": 300000,
"recommendedDefaultInfinite": true,
"sleepMinMs": 60000,
"sleepMaxMs": 0,
"recommendedSleepMinMs": 300000,
"recommendedSleepMaxMs": 7200000,
"recommendedProbability": 0.05,
"recommendedKeywords": [
"小鲸鱼",
"DeepSeek",
"deepseek",
"DS",
"D老师",
"d老师",
"D指导",
"d指导",
"D师傅",
"d师傅",
"深度求索",
"大肥鱼",
"鲸鱼",
"DeepSeek V3",
"DeepSeek R1",
"R1"
],
"recommendedAtMention": true,
"recommendedNameMention": true,
"recommendedQuestion": true,
"recommendedPoke": true,
"recommendedHint": "如果你要潜水,推荐先调用 qq_wait_for_messages(timeoutMs=300000) 完成一次沉睡前观察:5 分钟内没人说话就可以设置下一次唤醒并沉睡;若期间有人发新消息,先查看 newMessages,判断不需要你参与可直接沉睡,若参与了则下次想睡需再等观察窗口。潜水时长推荐 5~120 分钟,普通消息概率 0.05;@/名字/关键词/提问唤醒建议保持开启。需要等特定某人/某几人时,可额外设置 triggers.speakerIds。",
"batchWindowMs": 8000,
"maxWakePerMinute": 1,
"maxWakePerHour": 12,
"noActionLimit": 3,
"maxWakeConfigReminders": 2
},
"send": {
"burstEnabled": true,
"burstMaxMessages": 8,
"burstIntervalMinMs": 1000,
"burstIntervalMaxMs": 3000,
"longGapProbability": 0.2,
"longGapMinMs": 5000,
"longGapMaxMs": 10000,
"maxSendPerMinute": 8,
"maxSendPerHour": 60,
"maxMessageChars": 500,
"maxGapMs": 10000,
"gapBaseMs": 800,
"gapPerCharMs": 20,
"recommendedHint": "单条消息不要用空格断句,中文短句用逗号/顿号或直接连写;分条时每条都要读起来完整,不要把同一句话拆到两条里;普通闲聊建议一次 1~3 条,条间 1~3 秒;讲故事/回忆可以 5~10 秒间隔;不要连续刷屏。"
},
"wait": {
"defaultMs": 30000,
"minMs": 5000,
"maxMs": 600000,
"defaultQuietMs": 8000,
"minQuietAfterNewMs": 10000
},
"sticker": {
"enabled": true,
"syncTtlMs": 60000,
"maxListCount": 100,
"includeInPrompt": true,
"promptMaxStickers": 8,
"collect": {
"enabled": true,
"maxPerMinute": 2,
"maxPerHour": 10,
"maxRemarkChars": 20
}
},
"proactive": {
"enabled": true,
"checkIntervalMinMs": 1800000,
"checkIntervalMaxMs": 5400000,
"idleThresholdMs": 900000,
"probability": 0.3
},
"feedback": {
"maxLength": 500,
"notifyOwnerOnError": false
},
"context": {
"recentLimit": 100,
"unreadLimit": 30,
"contextWindow": 20
}
}
}