Skip to content

Commit 8150802

Browse files
committed
Update max to use sonnet 4.5
1 parent bcfb2c1 commit 8150802

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
lines changed

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

Lines changed: 2 additions & 2 deletions
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: 'openai/gpt-5',
7+
model: 'anthropic/claude-4.5-sonnet',
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.',
@@ -21,7 +21,7 @@ const definition: SecretAgentDefinition = {
2121
spawnableAgents: ['implementation-planner', 'plan-selector'],
2222
handleSteps: function* ({ prompt }) {
2323
// Step 1: Spawn several planners in parallel.
24-
const agents = Array.from({ length: 10 }, () => ({
24+
const agents = Array.from({ length: 5 }, () => ({
2525
agent_type: 'implementation-planner',
2626
prompt,
2727
}))

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

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ const definition: SecretAgentDefinition = {
88
id: 'implementation-planner',
99
displayName: 'Implementation Planner',
1010
publisher,
11-
model: 'openai/gpt-5',
12-
reasoningOptions: {
13-
effort: 'medium',
14-
},
11+
model: 'anthropic/claude-4.5-sonnet',
1512
spawnerPrompt:
1613
'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.',
1714
inputSchema: {
@@ -28,7 +25,6 @@ const definition: SecretAgentDefinition = {
2825
'file-explorer',
2926
'web-researcher',
3027
'docs-researcher',
31-
'thinker-gpt-5-high',
3228
],
3329

3430
systemPrompt: `You are an expert programmer, architect, researcher, and general problem solver.
@@ -44,13 +40,6 @@ ${PLACEHOLDER.KNOWLEDGE_FILES_CONTENTS}`,
4440
- Think about the best way to accomplish the task.
4541
- Finally, describe the full change to the codebase that will accomplish the task (or other steps, e.g. terminal commands to run). Use markdown code blocks to describe the changes for each file.
4642
- Then use the end_turn tool immediately after describing all the changes.
47-
48-
Important: You must use at least one tool call in every response unless you are done.
49-
For example, if you write something like:
50-
"I'll verify and finish the requested type updates by inspecting the current files and making any remaining edits."
51-
Then you must also include a tool call, e.g.:
52-
"I'll verify and finish the requested type updates by inspecting the current files and making any remaining edits. [insert read_files tool call]"
53-
If you don't do this, then your response will be cut off and the turn will be ended automatically.
5443
`,
5544
}
5645

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ import {
77
const definition: SecretAgentDefinition = {
88
id: 'plan-selector',
99
publisher,
10-
model: 'openai/gpt-5',
11-
reasoningOptions: {
12-
effort: 'medium',
13-
},
10+
model: 'anthropic/claude-4.5-sonnet',
1411
displayName: 'Plan Selector',
1512
spawnerPrompt:
1613
'Expert at evaluating and selecting the best plan from multiple options based on quality, feasibility, and simplicity.',

0 commit comments

Comments
 (0)