-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
85 lines (85 loc) · 2.48 KB
/
Copy pathconfig.example.json
File metadata and controls
85 lines (85 loc) · 2.48 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
{
"paths": {
"tokenEnv": "token.env",
"serversJson": "servers.example.json",
"statePath": "state/state.json",
"uploadsDir": "state/uploads"
},
"telegram": {
"chatId": null,
"allowChatBootstrap": true,
"allowedUserIds": { "env": "OPENCODEBOT_ALLOWED_USER_IDS" },
"token": { "env": "OPENCODEBOT_TOKEN" },
"botApi": {
"mode": "cloud",
"rootUrl": "https://api.telegram.org",
"fileRootUrl": "https://api.telegram.org",
"localFilesRoot": "/var/lib/telegram-bot-api"
}
},
"ui": {
"defaultLanguage": "en"
},
"updates": {
"enabled": false,
"repository": "Krablante/opencodebot",
"branch": "main"
},
"attachments": {
"enabled": true,
"maxInlineBytes": 20000000,
"maxFileBytes": 20000000,
"maxTotalBytes": 60000000
},
"speech": {
"enabled": false,
"maxFileBytes": 25000000,
"queueConcurrency": 1,
"defaultModel": "openai/whisper-large-v3-turbo",
"language": "auto",
"temperature": 0,
"responseFormat": "json",
"prompt": "",
"openrouter": {
"apiKeyEnv": "OPENROUTER_API_KEY",
"url": "https://openrouter.ai/api/v1/audio/transcriptions"
},
"groq": {
"apiKeyEnv": "GROQ_API_KEY",
"url": "https://api.groq.com/openai/v1/audio/transcriptions"
},
"models": [
{ "id": "openai/whisper-large-v3-turbo", "apiProvider": "openrouter", "apiModel": "openai/whisper-large-v3-turbo", "label": "Whisper V3 Turbo", "upstreamProvider": "Groq", "price": "$0.04/hour" },
{ "id": "groq/whisper-large-v3", "apiProvider": "groq", "apiModel": "whisper-large-v3", "label": "Whisper V3", "price": "Free tier · $0.111/hour paid" },
{ "id": "groq/whisper-large-v3-turbo", "apiProvider": "groq", "apiModel": "whisper-large-v3-turbo", "label": "Whisper V3 Turbo", "price": "Free tier · $0.04/hour paid" }
]
},
"finalVoice": { "enabled": false },
"artifactUploads": {
"enabled": true,
"root": "~/trash",
"dateFolders": true
},
"opencode": {
"mirrorScope": "global",
"newSessionDefaultDirectory": "serverHome",
"passwordEnvNames": ["OPENCODE_SERVER_PASSWORD", "OPENCODEZ_SERVER_PASSWORD"]
},
"defaultPrompt": {
"serverID": "local",
"agent": "build",
"model": null
},
"finalNotifications": {
"enabled": true,
"userIds": []
},
"artifacts": {
"enabled": false,
"listenHost": "0.0.0.0",
"port": 8788,
"tokenEnvNames": ["OPENCODEBOT_ARTIFACT_TOKEN"]
},
"promptProfiles": {},
"web": {}
}