feat: 启用本地模型替代远程模型优化性能与成本

- 启用本地模型替代默认远程模型以优化性能和降低成本。
This commit is contained in:
2026-01-24 02:59:39 +08:00
parent 6afdd068c3
commit f1e3520ea0

View File

@@ -2,11 +2,9 @@
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
"agents": { "agents": {
"Sisyphus": { "Sisyphus": {
// "model": "anthropic-gateway/claude-opus-4-5"
"model": "anthropic-gateway/claude-sonnet-4-5" "model": "anthropic-gateway/claude-sonnet-4-5"
}, },
"Planner-Sisyphus": { "Planner-Sisyphus": {
// "model": "anthropic-gateway/claude-opus-4-5"
"model": "anthropic-gateway/claude-opus-4-5-thinking" "model": "anthropic-gateway/claude-opus-4-5-thinking"
}, },
"oracle": { "oracle": {
@@ -16,12 +14,10 @@
"model": "google-gateway/gemini-3-pro-high" "model": "google-gateway/gemini-3-pro-high"
}, },
"librarian": { "librarian": {
// "model": "opencode/glm-4.7-free" "model": "opencode/glm-4.7-free"
"model": "anthropic-gateway/claude-haiku-4-5"
}, },
"explore": { "explore": {
// "model": "opencode/grok-code" "model": "opencode/grok-code"
"model": "anthropic-gateway/claude-haiku-4-5"
}, },
"document-writer": { "document-writer": {
"model": "google-gateway/gemini-3-flash" "model": "google-gateway/gemini-3-flash"
@@ -29,15 +25,5 @@
"multimodal-looker": { "multimodal-looker": {
"model": "google-gateway/gemini-3-flash" "model": "google-gateway/gemini-3-flash"
} }
// // 规划三剑客
// "Prometheus": {
// "model": "anthropic-gateway/claude-opus-4-5" // 战略规划
// },
// "Metis": {
// "model": "anthropic-gateway/claude-sonnet-4-5" // 规划前分析
// },
// "Momus": {
// "model": "anthropic-gateway/claude-sonnet-4-5" // 计划审查
// }
} }
} }