Compare commits

...

17 Commits

Author SHA1 Message Date
8978eeb5de chore: 对齐分类文档链接并更新 artistry 模型参数 2026-02-26 11:09:52 +08:00
3a35190250 chore: 优化 GPT-only 配置以降低轻量任务成本 2026-02-26 10:24:53 +08:00
b9650bfde8 chore: 调整代理模型配置并移除 glm-4.7 2026-02-26 09:33:35 +08:00
8573f89db7 feat: 更新代理模型参考链接并调整小模型配置
- 更新代理模型参考链接指向新的代理库存文档位置。
- 将小模型配置更新为使用cpa-openai/glm-4.7。
2026-02-24 14:46:39 +08:00
069684079a chore: 关闭粘贴摘要折叠以便预览完整文本 2026-02-16 00:36:52 +08:00
472294b787 chore: 合并 CPA OpenAI 提供商并统一模型前缀 2026-02-15 19:56:44 +08:00
f087f34a96 chore: quick 分类切换为 gpt-5-nano 2026-02-15 19:26:13 +08:00
cd4dd39670 chore: 调整 quick 模型为 glm-4.7 2026-02-15 03:40:44 +08:00
9de3f60156 chore: 调整 writing 模型配置为 glm-4.7 2026-02-15 03:36:44 +08:00
9384469551 chore: 调整 librarian 与 explore 模型配置 2026-02-15 03:26:35 +08:00
09407f9980 chore: 更新小模型配置并统一格式化 2026-02-15 03:14:30 +08:00
12d944efb4 chore: 调整检索与轻任务模型配置以提升性价比 2026-02-15 02:56:57 +08:00
8ca07bcdf5 feat: 提升规划编排模型并补齐 artistry 分类 2026-02-15 02:40:19 +08:00
8ea1baccf2 feat: 质量优先切换 librarian/explore/quick/writing 模型 2026-02-15 02:21:11 +08:00
f4cc4c6f29 feat: 优化模型分层并新增 gpt-5.1-codex-mini 2026-02-15 02:07:05 +08:00
294451814e chore: 统一 explore 和 quick 模型使用 glm-4.7 2026-02-15 01:15:56 +08:00
0296ca6564 feat: 迁移至 Codex API 并添加 GLM Coding Plan 提供商 2026-02-15 01:05:03 +08:00
3 changed files with 47 additions and 95 deletions

View File

@@ -1,4 +1,5 @@
CPA_API_KEY= CODEX_API_KEY=
# MCP
EXA_API_KEY= EXA_API_KEY=
CONTEXT7_API_KEY= CONTEXT7_API_KEY=
# Windows only # Windows only

View File

@@ -2,52 +2,53 @@
{ {
"$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": {
// ref: https://github.com/code-yeongyu/oh-my-opencode/blob/dev/AGENTS.md#agent-models // ref: https://github.com/code-yeongyu/oh-my-opencode/blob/dev/src/agents/AGENTS.md#agent-inventory
"sisyphus": { "sisyphus": {
"model": "cpa-anthropic/claude-opus-4-6", "model": "cpa-openai/gpt-5.3-codex",
"variant": "max" "variant": "high"
}, },
"hephaestus": { "hephaestus": {
"model": "cpa-openai/gpt-5.3-codex", "model": "cpa-openai/gpt-5.3-codex",
"variant": "medium" "variant": "high"
},
"atlas": {
"model": "cpa-anthropic/claude-sonnet-4-5"
}, },
"oracle": { "oracle": {
"model": "cpa-openai/gpt-5.2", "model": "cpa-openai/gpt-5.2",
"variant": "high" "variant": "high"
}, },
"librarian": { "librarian": {
"model": "cpa-google/gemini-3-flash" "model": "cpa-openai/gpt-5.2",
"variant": "low"
}, },
"explore": { "explore": {
"model": "cpa-google/gemini-3-flash" "model": "cpa-openai/gpt-5.1-codex-mini"
}, },
"multimodal-looker": { "multimodal-looker": {
"model": "cpa-google/gemini-3-flash" "model": "cpa-openai/gpt-5.2",
"variant": "medium"
}, },
"prometheus": { "prometheus": {
"model": "cpa-anthropic/claude-opus-4-6", "model": "cpa-openai/gpt-5.2",
"variant": "max" "variant": "high"
}, },
"metis": { "metis": {
"model": "cpa-anthropic/claude-opus-4-6", "model": "cpa-openai/gpt-5.2",
"variant": "max" "variant": "high"
}, },
"momus": { "momus": {
"model": "cpa-openai/gpt-5.2", "model": "cpa-openai/gpt-5.2",
"variant": "medium" "variant": "medium"
}, },
"sisyphus-junior": { "atlas": {
"model": "cpa-anthropic/claude-sonnet-4-5" "model": "cpa-openai/gpt-5.2",
"variant": "medium"
} }
}, },
"categories": { "categories": {
// ref: https://github.com/code-yeongyu/oh-my-opencode/blob/dev/docs/category-skill-guide.md#available-built-in-categories // ref: https://github.com/code-yeongyu/oh-my-opencode/blob/dev/docs/reference/configuration.md#built-in-categories
"visual-engineering": { "visual-engineering": {
"model": "cpa-google/gemini-3-pro", "model": "cpa-openai/gpt-5.3-codex",
"variant": "high" "variant": "medium",
"temperature": 0.5
}, },
"ultrabrain": { "ultrabrain": {
"model": "cpa-openai/gpt-5.3-codex", "model": "cpa-openai/gpt-5.3-codex",
@@ -58,21 +59,24 @@
"variant": "medium" "variant": "medium"
}, },
"artistry": { "artistry": {
"model": "cpa-google/gemini-3-pro", "model": "cpa-openai/gpt-5.3-codex",
"variant": "high" "variant": "medium",
"temperature": 0.5
}, },
"quick": { "quick": {
"model": "cpa-google/gemini-3-flash" "model": "cpa-openai/gpt-5.1-codex-mini"
}, },
"unspecified-low": { "unspecified-low": {
"model": "cpa-anthropic/claude-sonnet-4-5" "model": "cpa-openai/gpt-5.3-codex",
"variant": "medium"
}, },
"unspecified-high": { "unspecified-high": {
"model": "cpa-anthropic/claude-opus-4-6", "model": "cpa-openai/gpt-5.3-codex",
"variant": "max" "variant": "high"
}, },
"writing": { "writing": {
"model": "cpa-google/gemini-3-flash" "model": "cpa-openai/gpt-5.2",
"variant": "low"
} }
}, },
"git_master": { "git_master": {

View File

@@ -2,73 +2,14 @@
"$schema": "https://opencode.ai/config.json", "$schema": "https://opencode.ai/config.json",
"autoupdate": false, "autoupdate": false,
"theme": "system", "theme": "system",
"model": "cpa-anthropic/claude-opus-4-6", "model": "cpa-openai/gpt-5.3-codex",
"small_model": "cpa-google/gemini-3-flash", "small_model": "cpa-openai/gpt-5.1-codex-mini",
"experimental": {
"disable_paste_summary": true
},
"plugin": ["oh-my-opencode@latest"], "plugin": ["oh-my-opencode@latest"],
"provider": { "provider": {
// ref: https://models.dev/ // ref: https://models.dev/
"cpa-anthropic": {
"name": "CPA Anthropic",
"npm": "@ai-sdk/anthropic",
"options": {
"baseURL": "https://cpa.furtherverse.com/v1",
"apiKey": "{env:CPA_API_KEY}",
"setCacheKey": true
},
"models": {
"claude-opus-4-6": {
"name": "Claude Opus 4.6",
"tool_call": true,
"reasoning": true,
"modalities": {
"input": ["text", "image", "pdf"],
"output": ["text"]
},
"limit": { "context": 1000000, "output": 128000 }
},
"claude-sonnet-4-5": {
"name": "Claude Sonnet 4.5",
"tool_call": true,
"reasoning": false,
"modalities": {
"input": ["text", "image", "pdf"],
"output": ["text"]
},
"limit": { "context": 200000, "output": 64000 }
}
}
},
"cpa-google": {
"name": "CPA Google",
"npm": "@ai-sdk/google",
"options": {
"baseURL": "https://cpa.furtherverse.com/v1beta",
"apiKey": "{env:CPA_API_KEY}",
"setCacheKey": true
},
"models": {
"gemini-3-pro": {
"name": "Gemini 3 Pro",
"tool_call": true,
"reasoning": true,
"modalities": {
"input": ["text", "image", "video", "audio", "pdf"],
"output": ["text"]
},
"limit": { "context": 1048576, "output": 65536 }
},
"gemini-3-flash": {
"name": "Gemini 3 Flash",
"tool_call": true,
"reasoning": true,
"modalities": {
"input": ["text", "image", "video", "audio", "pdf"],
"output": ["text"]
},
"limit": { "context": 1048576, "output": 65536 }
}
}
},
"cpa-openai": { "cpa-openai": {
"name": "CPA OpenAI", "name": "CPA OpenAI",
"npm": "@ai-sdk/openai", "npm": "@ai-sdk/openai",
@@ -80,7 +21,6 @@
"models": { "models": {
"gpt-5.3-codex": { "gpt-5.3-codex": {
"name": "GPT-5.3-Codex", "name": "GPT-5.3-Codex",
"tool_call": true,
"reasoning": true, "reasoning": true,
"modalities": { "modalities": {
"input": ["text", "image", "pdf"], "input": ["text", "image", "pdf"],
@@ -90,7 +30,15 @@
}, },
"gpt-5.2": { "gpt-5.2": {
"name": "GPT-5.2", "name": "GPT-5.2",
"tool_call": true, "reasoning": true,
"modalities": {
"input": ["text", "image"],
"output": ["text"]
},
"limit": { "context": 400000, "input": 272000, "output": 128000 }
},
"gpt-5.1-codex-mini": {
"name": "GPT-5.1-Codex-Mini",
"reasoning": true, "reasoning": true,
"modalities": { "modalities": {
"input": ["text", "image"], "input": ["text", "image"],
@@ -100,6 +48,5 @@
} }
} }
} }
}, }
"disabled_providers": ["opencode"]
} }