chore: update MiniMax preset model from M2.5 to M2.7

This commit is contained in:
Jason
2026-03-20 21:05:56 +08:00
parent 6f170305b8
commit 3e78fe8305
3 changed files with 36 additions and 36 deletions
+4 -4
View File
@@ -42,8 +42,8 @@ export const OPENCODE_PRESET_MODEL_VARIANTS: Record<
> = {
"@ai-sdk/openai-compatible": [
{
id: "MiniMax-M2.5",
name: "MiniMax M2.5",
id: "MiniMax-M2.7",
name: "MiniMax M2.7",
contextLimit: 204800,
outputLimit: 131072,
modalities: { input: ["text"], output: ["text"] },
@@ -634,7 +634,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
setCacheKey: true,
},
models: {
"MiniMax-M2.5": { name: "MiniMax M2.5" },
"MiniMax-M2.7": { name: "MiniMax M2.7" },
},
},
category: "cn_official",
@@ -667,7 +667,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
setCacheKey: true,
},
models: {
"MiniMax-M2.5": { name: "MiniMax M2.5" },
"MiniMax-M2.7": { name: "MiniMax M2.7" },
},
},
category: "cn_official",