Skip to content

Commit 4f8a938

Browse files
committed
chore: remove duplicate "the" in two agent prompts
Two near-identical lines in base2 agent prompts said "depends on the the first": - agents/base2/base2.ts L200 - agents/base2/base-deep.ts L35 The line is the prompt rendered into the agent's instructions, so the duplicate "the" shows up in the agent's input.
1 parent 1e5b808 commit 4f8a938

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

agents/base2/base-deep.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
3232
- Spawn the thinker-gpt after gathering context to solve complex problems or when the user asks you to think about a problem. (gpt-5-agent is a last resort for complex problems)
3333
- Implement code changes using direct file editing tools.
3434
- Prefer apply_patch for existing-file edits. Use write_file only for creating or replacing entire files when that is simpler.
35-
- Spawn bashers sequentially if the second command depends on the the first.
35+
- Spawn bashers sequentially if the second command depends on the first.
3636
- **No need to include context:** When prompting an agent, realize that many agents can already see the entire conversation history, so you can be brief in prompting them without needing to include context.
3737
- **Never spawn the context-pruner agent:** This agent is spawned automatically for you and you don't need to spawn it yourself.
3838

agents/base2/base2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
197197
`- IMPORTANT: You must spawn the editor-multi-prompt agent to implement the changes after you have gathered all the context you need. You must spawn this agent for non-trivial changes, since it writes much better code than you would with the str_replace or write_file tools. Don't spawn the editor in parallel with context-gathering agents.`,
198198
isFree &&
199199
`- Spawn a ${freeCodeReviewerAgentId} to review the changes after you have implemented the changes.`,
200-
'- Spawn bashers sequentially if the second command depends on the the first.',
200+
'- Spawn bashers sequentially if the second command depends on the first.',
201201
isDefault &&
202202
'- Spawn a code-reviewer to review the changes after you have implemented the changes.',
203203
isMax &&

0 commit comments

Comments
 (0)