Skip to content

Commit ac7d2a3

Browse files
committed
small base2 fixes
1 parent ae6ee4e commit ac7d2a3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.agents/base2/base2-factory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const base2 = (model: ModelName): Omit<SecretAgentDefinition, 'id'> => ({
2929
},
3030
outputMode: 'last_message',
3131
includeMessageHistory: true,
32-
toolNames: ['spawn_agent_inline', 'spawn_agents', 'end_turn'],
32+
toolNames: ['spawn_agent_inline', 'spawn_agents', 'add_message', 'end_turn'],
3333
spawnableAgents: ['scout', 'planner', 'editor', 'reviewer', 'context-pruner'],
3434

3535
systemPrompt: `You are Buffy, a strategic coding assistant that orchestrates complex coding tasks through specialized sub-agents.
@@ -85,7 +85,7 @@ ${PLACEHOLDER.GIT_CHANGES_PROMPT}
8585
toolName: 'add_message',
8686
input: {
8787
role: 'user',
88-
content: `You have reached the step limit. Please summarize your progress so far and what you still need to solve. Immediately after summarizing, please end your turn. Do not use any tools except for the end_turn tool.`,
88+
content: `You have reached the step limit. Please summarize your progress in plain text (no need to use set_output) so far and what you still need to solve. Immediately after summarizing, please end your turn. Do not use any tools except for the end_turn tool.`,
8989
},
9090
}
9191
yield 'STEP'

.agents/base2/editor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ ${PLACEHOLDER.KNOWLEDGE_FILES_CONTENTS}`,
127127
`,
128128

129129
handleSteps: function* ({ agentState: initialAgentState }) {
130-
const stepLimit = 15
130+
const stepLimit = 20
131131
let stepCount = 0
132132
let agentState = initialAgentState
133133

0 commit comments

Comments
 (0)