Skip to content

Commit 9737d73

Browse files
committed
set_output tool should not trigger a new agent step!
1 parent efe00bc commit 9737d73

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

common/src/tools/constants.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@ export const toolXmlName = 'codebuff_tool_call'
77
export const startToolTag = `<${toolXmlName}>\n`
88
export const endToolTag = `\n</${toolXmlName}>`
99

10-
export const TOOLS_WHICH_WONT_FORCE_NEXT_STEP = ['think_deeply']
10+
export const TOOLS_WHICH_WONT_FORCE_NEXT_STEP = [
11+
'think_deeply',
12+
'set_output',
13+
'set_messages',
14+
'add_message',
15+
'add_subgoal',
16+
'update_subgoal',
17+
'create_plan',
18+
]
1119

1220
// List of all available tools
1321
export const toolNames = [

0 commit comments

Comments
 (0)