Skip to content

Commit 399ca74

Browse files
committed
Tweaks for editor implementor 2
1 parent 012f17d commit 399ca74

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.agents/editor/best-of-n/editor-implementor2.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ Your task is to write out ALL the code changes needed to complete the user's req
3838
3939
IMPORTANT: Use propose_str_replace and propose_write_file tools to make your edits. These tools draft changes without actually applying them - they will be reviewed first.
4040
41-
You can make multiple tool calls across multiple steps to complete the implementation.
42-
43-
After your edit tool calls, you can optionally mention any follow-up steps to take, like deleting a file, or a specific way to validate the changes.
41+
You can make multiple tool calls across multiple steps to complete the implementation. Only the file changes will be passed on, so you can say whatever you want to help you think. Do not write any final summary as that would be a waste of tokens because no one is reading it.
4442
4543
Your implementation should:
4644
- Be complete and comprehensive
@@ -55,7 +53,7 @@ More style notes:
5553
- Optional arguments are code smell and worse than required arguments.
5654
- New components often should be added to a new file, not added to an existing file.
5755
58-
Write out your complete implementation now.`,
56+
Write out your complete implementation now. Do not write any final summary. `,
5957

6058
handleSteps: function* ({ agentState: initialAgentState }) {
6159
const initialMessageHistoryLength =

.agents/editor/best-of-n/editor-multi-prompt2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function* handleStepsMultiPrompt({
120120

121121
// Build implementations for selector using the unified diffs
122122
const letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
123-
const strategies = [...prompts, 'default']
123+
const strategies = ['default', ...prompts]
124124
const implementations = spawnedImplementations.map((result, index) => {
125125
if (!result || 'errorMessage' in result) {
126126
return {

0 commit comments

Comments
 (0)