Skip to content

Commit 45cd073

Browse files
committed
Update some model names
1 parent 5d8d3cd commit 45cd073

File tree

3 files changed

+39
-12
lines changed

3 files changed

+39
-12
lines changed

.agents/types/agent-definition.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,26 +370,32 @@ export type ModelName =
370370
// Recommended Models
371371

372372
// OpenAI
373+
| 'openai/gpt-5.3'
374+
| 'openai/gpt-5.3-codex'
375+
| 'openai/gpt-5.2'
373376
| 'openai/gpt-5.1'
374377
| 'openai/gpt-5.1-chat'
375378
| 'openai/gpt-5-mini'
376379
| 'openai/gpt-5-nano'
377380

378381
// Anthropic
382+
| 'anthropic/claude-sonnet-4.6'
383+
| 'anthropic/claude-opus-4.6'
384+
| 'anthropic/claude-haiku-4.5'
379385
| 'anthropic/claude-sonnet-4.5'
380386
| 'anthropic/claude-opus-4.1'
381-
| 'anthropic/claude-opus-4.6'
382387

383388
// Gemini
389+
| 'google/gemini-3-pro-preview'
390+
| 'google/gemini-3-flash-preview'
391+
| 'google/gemini-3.1-flash-lite-preview'
384392
| 'google/gemini-2.5-pro'
385393
| 'google/gemini-2.5-flash'
386394
| 'google/gemini-2.5-flash-lite'
387-
| 'google/gemini-2.5-flash-preview-09-2025'
388-
| 'google/gemini-2.5-flash-lite-preview-09-2025'
389395

390396
// X-AI
391-
| 'x-ai/grok-4-07-09'
392397
| 'x-ai/grok-4-fast'
398+
| 'x-ai/grok-4.1-fast'
393399
| 'x-ai/grok-code-fast-1'
394400

395401
// Qwen
@@ -416,12 +422,14 @@ export type ModelName =
416422
| 'moonshotai/kimi-k2:nitro'
417423
| 'moonshotai/kimi-k2.5'
418424
| 'moonshotai/kimi-k2.5:nitro'
425+
| 'z-ai/glm-5'
419426
| 'z-ai/glm-4.6'
420427
| 'z-ai/glm-4.6:nitro'
421428
| 'z-ai/glm-4.7'
422429
| 'z-ai/glm-4.7:nitro'
423430
| 'z-ai/glm-4.7-flash'
424431
| 'z-ai/glm-4.7-flash:nitro'
432+
| 'minimax/minimax-m2.5'
425433
| (string & {})
426434

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

agents/types/agent-definition.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,26 +370,32 @@ export type ModelName =
370370
// Recommended Models
371371

372372
// OpenAI
373+
| 'openai/gpt-5.3'
374+
| 'openai/gpt-5.3-codex'
375+
| 'openai/gpt-5.2'
373376
| 'openai/gpt-5.1'
374377
| 'openai/gpt-5.1-chat'
375378
| 'openai/gpt-5-mini'
376379
| 'openai/gpt-5-nano'
377380

378381
// Anthropic
382+
| 'anthropic/claude-sonnet-4.6'
383+
| 'anthropic/claude-opus-4.6'
384+
| 'anthropic/claude-haiku-4.5'
379385
| 'anthropic/claude-sonnet-4.5'
380386
| 'anthropic/claude-opus-4.1'
381-
| 'anthropic/claude-opus-4.6'
382387

383388
// Gemini
389+
| 'google/gemini-3-pro-preview'
390+
| 'google/gemini-3-flash-preview'
391+
| 'google/gemini-3.1-flash-lite-preview'
384392
| 'google/gemini-2.5-pro'
385393
| 'google/gemini-2.5-flash'
386394
| 'google/gemini-2.5-flash-lite'
387-
| 'google/gemini-2.5-flash-preview-09-2025'
388-
| 'google/gemini-2.5-flash-lite-preview-09-2025'
389395

390396
// X-AI
391-
| 'x-ai/grok-4-07-09'
392397
| 'x-ai/grok-4-fast'
398+
| 'x-ai/grok-4.1-fast'
393399
| 'x-ai/grok-code-fast-1'
394400

395401
// Qwen
@@ -416,12 +422,14 @@ export type ModelName =
416422
| 'moonshotai/kimi-k2:nitro'
417423
| 'moonshotai/kimi-k2.5'
418424
| 'moonshotai/kimi-k2.5:nitro'
425+
| 'z-ai/glm-5'
419426
| 'z-ai/glm-4.6'
420427
| 'z-ai/glm-4.6:nitro'
421428
| 'z-ai/glm-4.7'
422429
| 'z-ai/glm-4.7:nitro'
423430
| 'z-ai/glm-4.7-flash'
424431
| 'z-ai/glm-4.7-flash:nitro'
432+
| 'minimax/minimax-m2.5'
425433
| (string & {})
426434

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

common/src/templates/initial-agents-dir/types/agent-definition.ts

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,26 +370,32 @@ export type ModelName =
370370
// Recommended Models
371371

372372
// OpenAI
373+
| 'openai/gpt-5.3'
374+
| 'openai/gpt-5.3-codex'
375+
| 'openai/gpt-5.2'
373376
| 'openai/gpt-5.1'
374377
| 'openai/gpt-5.1-chat'
375378
| 'openai/gpt-5-mini'
376379
| 'openai/gpt-5-nano'
377380

378381
// Anthropic
382+
| 'anthropic/claude-sonnet-4.6'
383+
| 'anthropic/claude-opus-4.6'
384+
| 'anthropic/claude-haiku-4.5'
379385
| 'anthropic/claude-sonnet-4.5'
380386
| 'anthropic/claude-opus-4.1'
381-
| 'anthropic/claude-opus-4.6'
382387

383388
// Gemini
389+
| 'google/gemini-3-pro-preview'
390+
| 'google/gemini-3-flash-preview'
391+
| 'google/gemini-3.1-flash-lite-preview'
384392
| 'google/gemini-2.5-pro'
385393
| 'google/gemini-2.5-flash'
386394
| 'google/gemini-2.5-flash-lite'
387-
| 'google/gemini-2.5-flash-preview-09-2025'
388-
| 'google/gemini-2.5-flash-lite-preview-09-2025'
389395

390396
// X-AI
391-
| 'x-ai/grok-4-07-09'
392397
| 'x-ai/grok-4-fast'
398+
| 'x-ai/grok-4.1-fast'
393399
| 'x-ai/grok-code-fast-1'
394400

395401
// Qwen
@@ -415,10 +421,15 @@ export type ModelName =
415421
| 'moonshotai/kimi-k2'
416422
| 'moonshotai/kimi-k2:nitro'
417423
| 'moonshotai/kimi-k2.5'
424+
| 'moonshotai/kimi-k2.5:nitro'
425+
| 'z-ai/glm-5'
418426
| 'z-ai/glm-4.6'
419427
| 'z-ai/glm-4.6:nitro'
420428
| 'z-ai/glm-4.7'
429+
| 'z-ai/glm-4.7:nitro'
421430
| 'z-ai/glm-4.7-flash'
431+
| 'z-ai/glm-4.7-flash:nitro'
432+
| 'minimax/minimax-m2.5'
422433
| (string & {})
423434

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

0 commit comments

Comments
 (0)