Skip to content

Commit 8ddd2e4

Browse files
committed
Switch agents to minimax-m2.7
1 parent 190caee commit 8ddd2e4

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

agents/__tests__/editor.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('editor agent', () => {
6464

6565
test('creates minimax editor', () => {
6666
const minimaxEditor = createCodeEditor({ model: 'minimax' })
67-
expect(minimaxEditor.model).toBe('minimax/minimax-m2.5')
67+
expect(minimaxEditor.model).toBe('minimax/minimax-m2.7')
6868
})
6969

7070
test('gpt-5 editor does not include think tags in instructions', () => {

agents/base2/base2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function createBase2(
2828

2929
return {
3030
publisher,
31-
model: isFree ? 'minimax/minimax-m2.5' : 'anthropic/claude-opus-4.6',
31+
model: isFree ? 'minimax/minimax-m2.7' : 'anthropic/claude-opus-4.6',
3232
providerOptions: isFree ? {
3333
data_collection: 'deny',
3434
} : {

agents/editor/editor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const createCodeEditor = (options: {
1313
options.model === 'gpt-5'
1414
? 'openai/gpt-5.1'
1515
: options.model === 'minimax'
16-
? 'minimax/minimax-m2.5'
16+
? 'minimax/minimax-m2.7'
1717
: 'anthropic/claude-opus-4.6',
1818
...(options.model === 'opus' && {
1919
providerOptions: {

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/reviewer/code-reviewer-lite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { createReviewer } from './code-reviewer'
55
const definition: SecretAgentDefinition = {
66
id: 'code-reviewer-lite',
77
publisher,
8-
...createReviewer('minimax/minimax-m2.5'),
8+
...createReviewer('minimax/minimax-m2.7'),
99
}
1010

1111
export default definition

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: {

agents/types/agent-definition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ export type ModelName =
429429
| 'z-ai/glm-4.7:nitro'
430430
| 'z-ai/glm-4.7-flash'
431431
| 'z-ai/glm-4.7-flash:nitro'
432-
| 'minimax/minimax-m2.5'
432+
| 'minimax/minimax-m2.7'
433433
| (string & {})
434434

435435
import type { ToolName, GetToolParams } from './tools'

0 commit comments

Comments
 (0)