Skip to content

Commit 0d772d2

Browse files
committed
Add some model types to standard agent definition
1 parent 2bc8693 commit 0d772d2

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.agents/types/agent-definition.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ export type ModelName =
378378
// Anthropic
379379
| 'anthropic/claude-sonnet-4.5'
380380
| 'anthropic/claude-opus-4.1'
381+
| 'anthropic/claude-opus-4.6'
381382

382383
// Gemini
383384
| 'google/gemini-2.5-pro'
@@ -413,8 +414,14 @@ export type ModelName =
413414
// Other open source models
414415
| 'moonshotai/kimi-k2'
415416
| 'moonshotai/kimi-k2:nitro'
417+
| 'moonshotai/kimi-k2.5'
418+
| 'moonshotai/kimi-k2.5:nitro'
416419
| 'z-ai/glm-4.6'
417420
| 'z-ai/glm-4.6:nitro'
421+
| 'z-ai/glm-4.7'
422+
| 'z-ai/glm-4.7:nitro'
423+
| 'z-ai/glm-4.7-flash'
424+
| 'z-ai/glm-4.7-flash:nitro'
418425
| (string & {})
419426

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

agents/types/agent-definition.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ export type ModelName =
378378
// Anthropic
379379
| 'anthropic/claude-sonnet-4.5'
380380
| 'anthropic/claude-opus-4.1'
381+
| 'anthropic/claude-opus-4.6'
381382

382383
// Gemini
383384
| 'google/gemini-2.5-pro'
@@ -413,8 +414,14 @@ export type ModelName =
413414
// Other open source models
414415
| 'moonshotai/kimi-k2'
415416
| 'moonshotai/kimi-k2:nitro'
417+
| 'moonshotai/kimi-k2.5'
418+
| 'moonshotai/kimi-k2.5:nitro'
416419
| 'z-ai/glm-4.6'
417420
| 'z-ai/glm-4.6:nitro'
421+
| 'z-ai/glm-4.7'
422+
| 'z-ai/glm-4.7:nitro'
423+
| 'z-ai/glm-4.7-flash'
424+
| 'z-ai/glm-4.7-flash:nitro'
418425
| (string & {})
419426

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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ export type ModelName =
378378
// Anthropic
379379
| 'anthropic/claude-sonnet-4.5'
380380
| 'anthropic/claude-opus-4.1'
381+
| 'anthropic/claude-opus-4.6'
381382

382383
// Gemini
383384
| 'google/gemini-2.5-pro'
@@ -413,8 +414,11 @@ export type ModelName =
413414
// Other open source models
414415
| 'moonshotai/kimi-k2'
415416
| 'moonshotai/kimi-k2:nitro'
417+
| 'moonshotai/kimi-k2.5'
416418
| 'z-ai/glm-4.6'
417419
| 'z-ai/glm-4.6:nitro'
420+
| 'z-ai/glm-4.7'
421+
| 'z-ai/glm-4.7-flash'
418422
| (string & {})
419423

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

0 commit comments

Comments
 (0)