-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.json.example
More file actions
41 lines (36 loc) · 915 Bytes
/
config.json.example
File metadata and controls
41 lines (36 loc) · 915 Bytes
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
{
"_comment": "VXBot 配置文件 - 复制到 /sdcard/VXBot/config.json 使用",
"whitelist": [
"好友昵称",
"群聊名称"
],
"mentionString": "@机器人名",
"polling": {
"enabled": true,
"interval": 500
},
"asyncMode": true,
"plugins": {
"openai": {
"enabled": true,
"apiKey": "sk-your-api-key-here",
"baseUrl": "https://api.openai.com/v1",
"model": "gpt-3.5-turbo",
"requestTimeout": 90000, // OpenAI API 请求超时时间 (毫秒)
"contextTimeout": 1200000, // 上下文超时时间 (毫秒)
"systemPrompt": "You are a helpful assistant.",
"customHeaders": {
"X-Custom-Header": "your-value"
}
},
"video": {
"enabled": true,
"serverUrl": "http://127.0.0.1:8080",
"command": "下载"
},
"image": {
"enabled": true,
"command": "发图"
}
}
}