Files
opencode-config/opencode.jsonc
imbytecat ac69a44498 refactor: 移除已废弃的 Gemini 3 Pro (Low) 模型配置
- 移除已废弃的 Gemini 3 Pro (Low) 模型配置
2026-01-27 17:35:15 +08:00

73 lines
1.8 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"autoupdate": "notify",
"theme": "system",
"model": "cpa-anthropic/claude-sonnet-4-5",
"small_model": "cpa-google/gemini-3-flash",
"plugin": [
"oh-my-opencode@latest", // 核心增强
"@tarquinen/opencode-dcp@latest", // DCP 优化
"@franlol/opencode-md-table-formatter@latest" // 表格美化
],
"provider": {
"cpa-anthropic": {
"name": "CPA Anthropic",
"npm": "@ai-sdk/anthropic",
"options": {
"baseURL": "http://10.0.1.1:8317/v1",
"apiKey": "{env:CPA_API_KEY}"
},
"models": {
"claude-opus-4-5-thinking": {
"name": "Claude Opus 4.5 (Thinking)"
},
"claude-sonnet-4-5-thinking": {
"name": "Claude Sonnet 4.5 (Thinking)"
},
"claude-sonnet-4-5": {
"name": "Claude Sonnet 4.5"
}
}
},
"cpa-google": {
"name": "CPA Google",
"npm": "@ai-sdk/google",
"options": {
"baseURL": "http://10.0.1.1:8317/v1beta",
"apiKey": "{env:CPA_API_KEY}"
},
"models": {
"gemini-3-pro-high": {
"name": "Gemini 3 Pro (High)"
},
"gemini-3-flash": {
"name": "Gemini 3 Flash"
}
}
},
"cpa-openai": {
"name": "CPA OpenAI",
"npm": "@ai-sdk/openai",
"options": {
"baseURL": "http://10.0.1.1:8317/v1",
"apiKey": "{env:CPA_API_KEY}",
"setCacheKey": true
},
"models": {
"gpt-5.2": {
"name": "GPT-5.2",
"options": {
"reasoningEffort": "xhigh"
}
},
"gpt-5.2-codex": {
"name": "GPT-5.2-Codex",
"options": {
"reasoningEffort": "xhigh"
}
}
}
}
}
}