Files
MonkeyCode/backend/config/config.json.tmpl
2025-07-30 18:54:31 +08:00

53 lines
1.5 KiB
Cheetah

{
"providerProfiles": {
"currentApiConfigName": "default",
"apiConfigs": {
"default": {
"apiProvider": "openai",
"apiModelId": "{{ .chatModel }}",
"openAiBaseUrl": "{{ .apiBase }}/v1",
"openAiApiKey": "{{ .apikey }}",
"openAiModelId": "{{ .chatModel }}",
"openAiR1FormatEnabled": {{ .r1Enabled }},
"openAiCustomModelInfo": {
"maxTokens": {{ .maxTokens }},
"contextWindow": {{ .contextWindow }},
"supportsImages": {{ .supportsImages }},
"supportsComputerUse": {{ .supportsComputerUse }},
"supportsPromptCache": {{ .supportsPromptCache }}
},
"id": "59admorkig4"
}
},
"modeApiConfigs": {
"code": "59admorkig4",
"architect": "59admorkig4",
"ask": "59admorkig4",
"debug": "59admorkig4",
"deepresearch": "59admorkig4"
},
"migrations": {
"rateLimitSecondsMigrated": true,
"diffSettingsMigrated": true
}
},
"ctcodeTabCompletions": {
"enabled": true,
"apiProvider": "openai",
"openAiBaseUrl": "{{ .apiBase}}/v1",
"openAiApiKey": "{{ .apikey }}",
"openAiModelId": "{{ .codeModel }}"
},
"globalSettings": {
"allowedCommands": [
"npm test",
"npm install",
"tsc",
"git log",
"git diff",
"git show"
],
"mode": "code",
"customModes": []
}
}