opencode.json
· 1.3 KiB · JSON
Eredeti
{
"$schema": "https://opencode.ai/config.json",
"autoshare": false,
"share": "disabled",
"autoupdate": true,
"permission": "allow",
"model": "custom-minimax/MiniMax-M2.1",
"watcher": {
"ignore": [
"node_modules/**",
"dist/**",
".git/**"
]
},
"plugin": [],
"provider": {
"custom-zhipu": {
"npm": "@ai-sdk/openai-compatible",
"name": "国内智谱开发订阅",
"models": {
"GLM-4.7": {
"name": "GLM-4.7"
}
},
"options": {
"baseURL": "https://open.bigmodel.cn/api/coding/paas/v4",
"apiKey": "{env:ZHIPU_API_KEY}"
}
},
"custom-minimax": {
"npm": "@ai-sdk/anthropic",
"name": "国内MiniMax开发订阅",
"models": {
"MiniMax-M2.1": {
"name": "MiniMax-M2.1"
}
},
"options": {
"baseURL": "https://api.minimaxi.com/anthropic/v1",
"apiKey": "{env:MINIMAX_API_KEY}"
}
},
"custom-doubao": {
"npm": "@ai-sdk/openai-compatible",
"name": "国内火山开发订阅",
"models": {
"ark-code-latest": {
"name": "ark-code-latest"
}
},
"options": {
"baseURL": "https://ark.cn-beijing.volces.com/api/coding/v3",
"apiKey": "{env:VOLCENGINE_API_KEY}"
}
}
}
}
| 1 | { |
| 2 | "$schema": "https://opencode.ai/config.json", |
| 3 | "autoshare": false, |
| 4 | "share": "disabled", |
| 5 | "autoupdate": true, |
| 6 | "permission": "allow", |
| 7 | "model": "custom-minimax/MiniMax-M2.1", |
| 8 | "watcher": { |
| 9 | "ignore": [ |
| 10 | "node_modules/**", |
| 11 | "dist/**", |
| 12 | ".git/**" |
| 13 | ] |
| 14 | }, |
| 15 | "plugin": [], |
| 16 | "provider": { |
| 17 | "custom-zhipu": { |
| 18 | "npm": "@ai-sdk/openai-compatible", |
| 19 | "name": "国内智谱开发订阅", |
| 20 | "models": { |
| 21 | "GLM-4.7": { |
| 22 | "name": "GLM-4.7" |
| 23 | } |
| 24 | }, |
| 25 | "options": { |
| 26 | "baseURL": "https://open.bigmodel.cn/api/coding/paas/v4", |
| 27 | "apiKey": "{env:ZHIPU_API_KEY}" |
| 28 | } |
| 29 | }, |
| 30 | "custom-minimax": { |
| 31 | "npm": "@ai-sdk/anthropic", |
| 32 | "name": "国内MiniMax开发订阅", |
| 33 | "models": { |
| 34 | "MiniMax-M2.1": { |
| 35 | "name": "MiniMax-M2.1" |
| 36 | } |
| 37 | }, |
| 38 | "options": { |
| 39 | "baseURL": "https://api.minimaxi.com/anthropic/v1", |
| 40 | "apiKey": "{env:MINIMAX_API_KEY}" |
| 41 | } |
| 42 | }, |
| 43 | "custom-doubao": { |
| 44 | "npm": "@ai-sdk/openai-compatible", |
| 45 | "name": "国内火山开发订阅", |
| 46 | "models": { |
| 47 | "ark-code-latest": { |
| 48 | "name": "ark-code-latest" |
| 49 | } |
| 50 | }, |
| 51 | "options": { |
| 52 | "baseURL": "https://ark.cn-beijing.volces.com/api/coding/v3", |
| 53 | "apiKey": "{env:VOLCENGINE_API_KEY}" |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 | } |