This commit is contained in:
2026-01-12 03:16:35 +08:00
parent c2dcc53018
commit 5310ff28ae
48 changed files with 1349 additions and 254 deletions

43
opencode.json Normal file
View File

@@ -0,0 +1,43 @@
{
"$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}"
}
}
}
}