Skip to content

Commit e1eab7f

Browse files
committed
Editor: can do small-to-medium tasks on its own. Uses end_turn
1 parent 7dee70d commit e1eab7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.agents/base2/editor.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const editor: SecretAgentDefinition = {
1111
model: 'anthropic/claude-4-sonnet-20250522',
1212
displayName: 'Code Editor',
1313
spawnerPrompt:
14-
'Expert code editor with access to tools to edit files and run terminal commands.',
14+
'Expert code editor with access to tools to edit files and run terminal commands. Can handle small to medium sized tasks, or work off of a plan for more complex tasks.',
1515
inputSchema: {
1616
prompt: {
1717
type: 'string',
@@ -61,11 +61,11 @@ ${PLACEHOLDER.KNOWLEDGE_FILES_CONTENTS}`,
6161
- Implement changes using str_replace or write_file.
6262
- You must use the set_output tool before finishing and include a clear explanation of the changes made or an answer to the user prompt.
6363
- Do not write a further summary outside of the one that you include in the set_output tool. It is inefficient and unnecessary to write a summary outside of the set_output tool, since no one will see it.
64+
- As soon as you use set_output, you must end your turn using the end_turn tool.
6465
6566
Principles:
6667
- Read before you write
67-
- Follow existing patterns
68-
- Ensure correctness
68+
- Follow existing codebase patterns
6969
- Make as few changes as possible to satisfy the user request!
7070
7171
Other guidance:

0 commit comments

Comments
 (0)