forked from imbytecat/opencode-config
refactor: 统一模型配置并更新代理与分类模型设置
- 更新所有代理和分类的模型配置,统一使用新的CPA模型标识并新增未指定级别的高低优先级模型设置。 - 移除旧的 GLM 和 Claude 模型配置,替换为新的 Packy OpenAI 模型配置,并更新模型名称和版本。
This commit is contained in:
@@ -6,19 +6,6 @@
|
||||
"small_model": "google-gateway/gemini-3-flash",
|
||||
"plugin": ["oh-my-opencode"],
|
||||
"provider": {
|
||||
"glm-coding-plan": {
|
||||
"name": "GLM Coding Plan",
|
||||
"npm": "@ai-sdk/openai-compatible",
|
||||
"options": {
|
||||
"baseURL": "https://api.z.ai/api/coding/paas/v4",
|
||||
"apiKey": "{env:ZAI_API_KEY}"
|
||||
},
|
||||
"models": {
|
||||
"glm-4.7": {
|
||||
"name": "GLM-4.7"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cpa-anthropic": {
|
||||
"name": "CPA Anthropic",
|
||||
"npm": "@ai-sdk/anthropic",
|
||||
@@ -35,9 +22,6 @@
|
||||
},
|
||||
"claude-sonnet-4-5": {
|
||||
"name": "Claude Sonnet 4.5"
|
||||
},
|
||||
"claude-haiku-4-5": {
|
||||
"name": "Claude Haiku 4.5"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -52,8 +36,8 @@
|
||||
"gemini-3-pro-high": {
|
||||
"name": "Gemini 3 Pro (High)"
|
||||
},
|
||||
"gemini-3-pro-image": {
|
||||
"name": "Gemini 3 Pro (Image)"
|
||||
"gemini-3-pro-low": {
|
||||
"name": "Gemini 3 Pro (Low)"
|
||||
},
|
||||
"gemini-3-flash": {
|
||||
"name": "Gemini 3 Flash"
|
||||
@@ -76,19 +60,19 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"packycode-anthropic": {
|
||||
"name": "PackyCode Anthropic",
|
||||
"npm": "@ai-sdk/anthropic",
|
||||
"packy-openai": {
|
||||
"name": "Packy OpenAI",
|
||||
"npm": "@ai-sdk/openai",
|
||||
"options": {
|
||||
"baseURL": "https://www.packyapi.com/v1",
|
||||
"apiKey": "{env:PACKY_API_KEY}"
|
||||
},
|
||||
"models": {
|
||||
"claude-opus-4-5-20251101": {
|
||||
"name": "Claude Opus 4.5"
|
||||
"gpt-5.2": {
|
||||
"name": "GPT-5.2"
|
||||
},
|
||||
"claude-sonnet-4-5-20250929": {
|
||||
"name": "Claude Sonnet 4.5"
|
||||
"gpt-5.2-codex": {
|
||||
"name": "GPT-5.2-Codex"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user