Skip to content

Commit 9c2d2e0

Browse files
mrubensq1600822305
authored andcommitted
Revert "Revert "Enable parallel tool calling with new_task isolation safeguards"" (RooCodeInc#11006)
1 parent 385d20d commit 9c2d2e0

3 files changed

Lines changed: 418 additions & 3 deletions

File tree

src/core/prompts/tools/native-tools/new_task.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import type OpenAI from "openai"
22

3-
const NEW_TASK_DESCRIPTION = `This will let you create a new task instance in the chosen mode using your provided message and initial todo list (if required).`
3+
const NEW_TASK_DESCRIPTION = `Create a new task instance in the chosen mode using your provided message and initial todo list (if required).
4+
5+
CRITICAL: This tool MUST be called alone. Do NOT call this tool alongside other tools in the same message turn. If you need to gather information before delegating, use other tools in a separate turn first, then call new_task by itself in the next turn.`
46

57
const MODE_PARAMETER_DESCRIPTION = `Slug of the mode to begin the new task in (e.g., code, debug, architect)`
68

0 commit comments

Comments
 (0)