You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/base2/editor.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import {
8
8
consteditor: SecretAgentDefinition={
9
9
id: 'editor',
10
10
publisher,
11
-
model: 'anthropic/claude-4-sonnet-20250522',
11
+
model: 'anthropic/claude-sonnet-4',
12
12
displayName: 'Code Editor',
13
13
spawnerPrompt:
14
14
'Expert code editor with access to tools to find and edit files, run terminal commands, and search the web. Can handle small to medium sized tasks, or work off of a plan for more complex tasks. For easy tasks, you can spawn this agent directly rather than invoking a scout or planner first.',
@@ -111,7 +111,7 @@ User: <tool_result>
111
111
112
112
${PLACEHOLDER.KNOWLEDGE_FILES_CONTENTS}`,
113
113
114
-
instructionsPrompt: `Implement the requested changes. Feel free to ignore the plan if it seems incorrect.
114
+
instructionsPrompt: `Implement the requested changes, using your judgment as needed, but referring to the original <user-message> as the most important source of information.
Copy file name to clipboardExpand all lines: .agents/base2/planner-factory.ts
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ export const plannerFactory = (
14
14
model,
15
15
displayName: 'Peter Plan',
16
16
spawnerPrompt:
17
-
'Creates comprehensive plans by exploring the codebase, doing research on the web, and thinking deeply. You can also use it get deep answer to any question. This is a slow agent -- prefer to use it for complex tasks that require thinking.',
17
+
'Creates comprehensive plans by exploring the codebase, doing research on the web, and thinking deeply. Is a codebase expert. You can also use it get a deep answer to any question. Use this agent for tasks that require thinking.',
instructionsPrompt: `You are gathering information which will be used to create a plan.
41
42
42
-
- It's helpful to spawn a file-explorer to find all the relevant parts of the codebase. In parallel as part of the same spawn_agents tool call, you may also spawn a web-researcher or docs-researcher to search the web or technical documentation for relevant information.
43
-
- After you are satisfied with the information you have gathered from these agents, stop and use the end_turn tool. The plan will be created in a separate step. Do not spawn thinker-gpt-5-high in this step.`,
43
+
- It's helpful to spawn a file-explorer and read-only-commander to find all the relevant parts of the codebase. In parallel as part of the same spawn_agents tool call, you may also spawn a web-researcher or docs-researcher to search the web or technical documentation for relevant information. Note: for the read-only-commander, be sure to ask it to list the file paths of all the relevant files for this task as absolute paths (e.g. src/example.ts, packages/components/Example.js, etc.).
44
+
- Read all the file paths that are relevant using the read_files tool.
45
+
- Read more and more files to get any information that could possibly help you make the best plan. It's good to read 20+ files.
46
+
- After you are satisfied with the information you have gathered from these agents, use the set_output tool to describe the relevant information and insights you have. Then stop and use the end_turn tool. The plan will be created in a separate step. Do not spawn thinker-gpt-5-high in this step.`,
0 commit comments