Files
skills-template/opencode.json
2026-01-11 01:10:38 +08:00

46 lines
959 B
JSON

{
"$schema": "https://opencode.ai/config.json",
"autoshare": false,
"share": "disabled",
"autoupdate": true,
"permission": "allow",
"disabled_providers": [
"openai",
"gemini"
],
"watcher": {
"ignore": [
"node_modules/**",
"dist/**",
".git/**"
]
},
"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_TOKEN}"
}
},
"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_TOKEN}"
}
}
}
}