Skip to content

Commit 018a162

Browse files
jahoomaclaude
andcommitted
Restrict OpenCode Zen to kimi-k2.6; revert minimax wiring
Removes opencode/minimax-m2.7 from the OpenCode Zen routing map and reverts the buffbench main.ts back to base2-free-evals. Drops the two short-lived base2-free-opencode-{kimi,minimax} agent variants. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f55841f commit 018a162

6 files changed

Lines changed: 1 addition & 39 deletions

File tree

agents/base2/base2-free-opencode-kimi.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

agents/base2/base2-free-opencode-minimax.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

common/src/constants/model-config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export type openrouterModel =
5454
(typeof openrouterModels)[keyof typeof openrouterModels]
5555

5656
export const openCodeZenModels = {
57-
opencode_minimax_m2_7: 'opencode/minimax-m2.7',
5857
opencode_kimi_k2_6: 'opencode/kimi-k2.6',
5958
} as const
6059
export type OpenCodeZenModel =

evals/buffbench/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async function main() {
1111
// Use 'external:opencode' for OpenCode CLI
1212
await runBuffBench({
1313
evalDataPaths: [path.join(__dirname, 'eval-codebuff.json')],
14-
agents: ['base2-free-kimi'],
14+
agents: ['base2-free-evals'],
1515
taskConcurrency: 6,
1616
saveTraces,
1717
})

web/src/app/api/v1/chat/completions/__tests__/completions.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,6 @@ describe('/api/v1/chat/completions POST endpoint', () => {
857857
'routes OpenCode Zen models to the direct OpenCode Zen provider',
858858
async () => {
859859
const expectedUpstreamModel: Record<string, string> = {
860-
'opencode/minimax-m2.7': 'minimax-m2.7',
861860
'opencode/kimi-k2.6': 'kimi-k2.6',
862861
}
863862

web/src/llm-api/opencode-zen.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ const OPENCODE_ZEN_MODELS: Record<
3838
string,
3939
{ opencodeId: string; pricing: OpenCodeZenPricing }
4040
> = {
41-
[openCodeZenModels.opencode_minimax_m2_7]: {
42-
opencodeId: 'minimax-m2.7',
43-
pricing: {
44-
inputCostPerToken: 0.3 / 1_000_000,
45-
cachedInputCostPerToken: 0.06 / 1_000_000,
46-
outputCostPerToken: 1.2 / 1_000_000,
47-
},
48-
},
4941
[openCodeZenModels.opencode_kimi_k2_6]: {
5042
opencodeId: 'kimi-k2.6',
5143
pricing: {

0 commit comments

Comments
 (0)