Skip to content

Commit 1b4e1c6

Browse files
committed
agents: standardize sonnet 4.5 model name
1 parent bcff87e commit 1b4e1c6

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

.agents/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { SecretAgentDefinition } from './types/secret-agent-definition'
66
const definition: SecretAgentDefinition = {
77
id: 'base',
88
publisher,
9-
...base('anthropic/claude-4.5-sonnet', 'normal'),
9+
...base('anthropic/claude-sonnet-4.5', 'normal'),
1010
}
1111

1212
export default definition

.agents/implementation-planner/implementation-planner-max.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { type SecretAgentDefinition } from '../types/secret-agent-definition'
44
const definition: SecretAgentDefinition = {
55
id: 'implementation-planner-max',
66
publisher,
7-
model: 'anthropic/claude-4.5-sonnet',
7+
model: 'anthropic/claude-sonnet-4.5',
88
displayName: 'Implementation Planner Max',
99
spawnerPrompt:
1010
'Creates the best possible implementation plan by generating several different plans in parallel and selecting the best one. Includes full code changes.',

.agents/implementation-planner/implementation-planner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const definition: SecretAgentDefinition = {
88
id: 'implementation-planner',
99
displayName: 'Implementation Planner',
1010
publisher,
11-
model: 'anthropic/claude-4.5-sonnet',
11+
model: 'anthropic/claude-sonnet-4.5',
1212
spawnerPrompt:
1313
'Creates comprehensive implementation plans with full code changes by exploring the codebase, doing research on the web, and thinking deeply. You can also use it get a deep answer to any question. Use this agent for tasks that require thinking.',
1414
inputSchema: {

.agents/implementation-planner/plan-selector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
const definition: SecretAgentDefinition = {
88
id: 'plan-selector',
99
publisher,
10-
model: 'anthropic/claude-4.5-sonnet',
10+
model: 'anthropic/claude-sonnet-4.5',
1111
displayName: 'Plan Selector',
1212
spawnerPrompt:
1313
'Expert at evaluating and selecting the best plan from multiple options based on quality, feasibility, and simplicity.',

.agents/researcher/sonnet/researcher-codebase-explorer-sonnet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const definition: SecretAgentDefinition = {
77
id: 'researcher-codebase-explorer-sonnet',
88
publisher,
99
displayName: 'Codebase Explorer Sonnet',
10-
model: 'anthropic/claude-4.5-sonnet',
10+
model: 'anthropic/claude-sonnet-4.5',
1111
}
1212

1313
export default definition

.agents/researcher/sonnet/researcher-docs-sonnet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const definition: SecretAgentDefinition = {
77
id: 'researcher-docs-sonnet',
88
publisher,
99
displayName: 'Docs Researcher Sonnet',
10-
model: 'anthropic/claude-4.5-sonnet',
10+
model: 'anthropic/claude-sonnet-4.5',
1111
}
1212

1313
export default definition

.agents/researcher/sonnet/researcher-sonnet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const definition: SecretAgentDefinition = {
77
id: 'researcher-sonnet',
88
publisher,
99
displayName: 'Researcher Sonnet',
10-
model: 'anthropic/claude-4.5-sonnet',
10+
model: 'anthropic/claude-sonnet-4.5',
1111

1212
spawnableAgents: [
1313
'file-explorer',

.agents/researcher/sonnet/researcher-web-sonnet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const definition: SecretAgentDefinition = {
77
id: 'researcher-web-sonnet',
88
publisher,
99
displayName: 'Web Researcher Sonnet',
10-
model: 'anthropic/claude-4.5-sonnet',
10+
model: 'anthropic/claude-sonnet-4.5',
1111
}
1212

1313
export default definition

.agents/reviewer/reviewer-max.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { reviewer } from './reviewer-factory'
33
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
44

55
const definition: SecretAgentDefinition = {
6-
...reviewer('anthropic/claude-4.5-sonnet'),
6+
...reviewer('anthropic/claude-sonnet-4.5'),
77
id: 'reviewer-max',
88
}
99

common/src/old-constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export const geminiModels = {
194194
export type GeminiModel = (typeof geminiModels)[keyof typeof geminiModels]
195195

196196
export const openrouterModels = {
197-
openrouter_claude_sonnet_4_5: 'anthropic/claude-4.5-sonnet',
197+
openrouter_claude_sonnet_4_5: 'anthropic/claude-sonnet-4.5',
198198
openrouter_claude_sonnet_4: 'anthropic/claude-4-sonnet-20250522',
199199
openrouter_claude_opus_4: 'anthropic/claude-opus-4.1',
200200
openrouter_claude_3_5_haiku: 'anthropic/claude-3.5-haiku-20241022',

0 commit comments

Comments
 (0)