Files
opencode-config/opencode.jsonc
imbytecat 836fbdaf0f refactor: 精简模型配置,移除冗余设置
- 精简模型配置,移除冗余的限制、模态和变体设置,仅保留模型名称。
2026-01-30 16:42:22 +08:00

78 lines
1.9 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",
"@franlol/opencode-md-table-formatter@latest"
],
"provider": {
"cpa-anthropic": {
"name": "CPA Anthropic",
"npm": "@ai-sdk/anthropic",
"options": {
"baseURL": "https://cpa.furtherverse.com/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",
"limit": { "context": 200000, "output": 64000 },
"modalities": {
"input": ["text", "image", "pdf"],
"output": ["text"]
}
}
}
},
"cpa-google": {
"name": "CPA Google",
"npm": "@ai-sdk/google",
"options": {
"baseURL": "https://cpa.furtherverse.com/v1beta",
"apiKey": "{env:CPA_API_KEY}"
},
"models": {
"gemini-3-pro": {
"name": "Gemini 3 Pro"
},
"gemini-3-flash": {
"name": "Gemini 3 Flash"
}
}
},
"cpa-openai": {
"name": "CPA OpenAI",
"npm": "@ai-sdk/openai",
"options": {
"baseURL": "https://cpa.furtherverse.com/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"
}
}
}
}
}
}