Skip to content

Commit 6fe8b23

Browse files
committed
upgrade minimax to m2.7
1 parent c31bc42 commit 6fe8b23

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

agents/librarian/librarian.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const librarian: AgentDefinition = {
99
id: 'librarian',
1010
publisher,
1111
displayName: 'Librarian',
12-
model: 'minimax/minimax-m2.5',
12+
model: 'minimax/minimax-m2.7',
1313

1414
spawnerPrompt:
1515
'Spawn the librarian agent to shallow-clone a GitHub repository into /tmp and answer questions about its code, structure, or documentation. The agent returns structured output with `answer`, `relevantFiles` (absolute paths in the cloned repo), and `cloneDir`. You can use `run_terminal_command` with `cat` to read the returned `relevantFiles` paths. Clean up `cloneDir` with `rm -rf` when done.',

agents/tmux-cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const outputSchema = {
7171
const definition: AgentDefinition = {
7272
id: 'tmux-cli',
7373
displayName: 'Tmux CLI Agent',
74-
model: 'minimax/minimax-m2.5',
74+
model: 'minimax/minimax-m2.7',
7575
// Provider options are tightly coupled to the model choice above.
7676
// If you change the model, update these accordingly.
7777
providerOptions: {

common/src/constants/free-agents.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const FREE_COST_MODE = 'free' as const
1818
*/
1919
export const FREE_MODE_AGENT_MODELS: Record<string, Set<string>> = {
2020
// Root orchestrator
21-
'base2-free': new Set(['minimax/minimax-m2.5', 'z-ai/glm-5.1']),
21+
'base2-free': new Set(['minimax/minimax-m2.7', 'z-ai/glm-5.1']),
2222

2323
// File exploration agents
2424
'file-picker': new Set(['google/gemini-2.5-flash-lite']),
@@ -33,10 +33,10 @@ export const FREE_MODE_AGENT_MODELS: Record<string, Set<string>> = {
3333
'basher': new Set(['google/gemini-3.1-flash-lite-preview']),
3434

3535
// Editor for free mode
36-
'editor-lite': new Set(['minimax/minimax-m2.5', 'z-ai/glm-5.1']),
36+
'editor-lite': new Set(['minimax/minimax-m2.7', 'z-ai/glm-5.1']),
3737

3838
// Code reviewer for free mode
39-
'code-reviewer-lite': new Set(['minimax/minimax-m2.5', 'z-ai/glm-5.1']),
39+
'code-reviewer-lite': new Set(['minimax/minimax-m2.7', 'z-ai/glm-5.1']),
4040

4141
// Thinker for free mode
4242
'thinker-with-files-gemini': new Set(['google/gemini-3.1-pro-preview']),
@@ -106,7 +106,7 @@ export function isFreeModeAllowedAgentModel(
106106
// Exact match first
107107
if (allowedModels.has(model)) return true
108108

109-
// OpenRouter may return dated variants (e.g. "minimax/minimax-m2.5-20260211")
109+
// OpenRouter may return dated variants (e.g. "minimax/minimax-m2.7-20260211")
110110
// so also check if the returned model starts with any allowed model prefix.
111111
for (const allowed of allowedModels) {
112112
if (model.startsWith(allowed + '-')) return true

0 commit comments

Comments
 (0)