WIP: 应用 Claude Opus 4.7 到西西弗斯 #1

Closed
mdy wants to merge 25 commits from mdy/opencode-config:main into main
2 changed files with 21 additions and 9 deletions
Showing only changes of commit d5733ddec4 - Show all commits
+6 -6
View File
@@ -1,14 +1,14 @@
{ {
"$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": { "model": "anthropic/claude-opus-4-6", "variant": "high" }, "sisyphus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" }, "hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" },
"oracle": { "model": "openai/gpt-5.4", "variant": "high" }, "oracle": { "model": "openai/gpt-5.4", "variant": "high" },
"librarian": { "model": "litellm/minimax-m2.7" }, "librarian": { "model": "ai-gateway/minimax-m2.7" },
"explore": { "model": "litellm/grok-code-fast-1" }, "explore": { "model": "ai-gateway/grok-code-fast-1" },
"multimodal-looker": { "model": "openai/gpt-5.4", "variant": "medium" }, "multimodal-looker": { "model": "openai/gpt-5.4", "variant": "medium" },
"prometheus": { "model": "anthropic/claude-opus-4-6", "variant": "high" }, "prometheus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"metis": { "model": "anthropic/claude-opus-4-6", "variant": "high" }, "metis": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"momus": { "model": "openai/gpt-5.4", "variant": "xhigh" }, "momus": { "model": "openai/gpt-5.4", "variant": "xhigh" },
"atlas": { "model": "anthropic/claude-sonnet-4-6" }, "atlas": { "model": "anthropic/claude-sonnet-4-6" },
"sisyphus-junior": { "model": "anthropic/claude-sonnet-4-6" } "sisyphus-junior": { "model": "anthropic/claude-sonnet-4-6" }
@@ -20,7 +20,7 @@
"artistry": { "model": "google/gemini-3.1-pro-preview", "variant": "high" }, "artistry": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
"quick": { "model": "openai/gpt-5.4-mini" }, "quick": { "model": "openai/gpt-5.4-mini" },
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" }, "unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
"unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "high" }, "unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"writing": { "model": "google/gemini-3-flash-preview" } "writing": { "model": "google/gemini-3-flash-preview" }
}, },
"experimental": { "experimental": {
+15 -3
View File
@@ -3,7 +3,7 @@
"plugin": ["oh-my-opencode@latest"], "plugin": ["oh-my-opencode@latest"],
"autoupdate": false, "autoupdate": false,
"model": "anthropic/claude-opus-4-6", "model": "anthropic/claude-opus-4-6",
"small_model": "anthropic/claude-haiku-4-5", "small_model": "openai/gpt-5.4-mini",
"provider": { "provider": {
"anthropic": { "anthropic": {
"npm": "@ai-sdk/anthropic", "npm": "@ai-sdk/anthropic",
@@ -80,8 +80,8 @@
} }
} }
}, },
"litellm": { "ai-gateway": {
"name": "LiteLLM", "name": "AI Gateway",
"npm": "@ai-sdk/openai-compatible", "npm": "@ai-sdk/openai-compatible",
"options": { "options": {
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1", "baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
@@ -94,6 +94,12 @@
"modalities": { "input": ["text"], "output": ["text"] }, "modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 256000, "output": 10000 } "limit": { "context": 256000, "output": 10000 }
}, },
"glm-5.1": {
"name": "GLM-5.1",
"reasoning": true,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 204800, "output": 131072 }
},
"glm-5": { "glm-5": {
"name": "GLM-5", "name": "GLM-5",
"reasoning": true, "reasoning": true,
@@ -106,6 +112,12 @@
"modalities": { "input": ["text", "image", "video"], "output": ["text"] }, "modalities": { "input": ["text", "image", "video"], "output": ["text"] },
"limit": { "context": 262144, "output": 262144 } "limit": { "context": 262144, "output": 262144 }
}, },
"minimax-m2.7": {
"name": "MiniMax M2.7",
"reasoning": true,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 204800, "output": 131072 }
},
"minimax-m2.5": { "minimax-m2.5": {
"name": "MiniMax M2.5", "name": "MiniMax M2.5",
"reasoning": true, "reasoning": true,