56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"autoshare": false,
|
|
"share": "disabled",
|
|
"autoupdate": true,
|
|
"permission": "allow",
|
|
"watcher": {
|
|
"ignore": [
|
|
"node_modules/**",
|
|
"dist/**",
|
|
".git/**"
|
|
]
|
|
},
|
|
"plugin": [],
|
|
"provider": {
|
|
"custom-zhipu": {
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"name": "国内智谱AI",
|
|
"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": "国内火山AI",
|
|
"models": {
|
|
"ark-code-latest": {
|
|
"name": "ark-code-latest"
|
|
}
|
|
},
|
|
"options": {
|
|
"baseURL": "https://ark.cn-beijing.volces.com/api/coding/v3",
|
|
"apiKey": "{env:DOUBAO_API_KEY}"
|
|
}
|
|
},
|
|
}
|
|
} |