File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -17,18 +17,17 @@ suite("Roo Code Subtasks", () => {
1717 }
1818 } )
1919
20- await api . setConfiguration ( {
21- mode : "ask" ,
22- alwaysAllowModeSwitch : true ,
23- alwaysAllowSubtasks : true ,
24- autoApprovalEnabled : true ,
25- enableCheckpoints : false ,
26- } )
27-
2820 const childPrompt = "You are a calculator. Respond only with numbers. What is the square root of 9?"
2921
3022 // Start a parent task that will create a subtask.
3123 const parentTaskId = await api . startNewTask ( {
24+ configuration : {
25+ mode : "ask" ,
26+ alwaysAllowModeSwitch : true ,
27+ alwaysAllowSubtasks : true ,
28+ autoApprovalEnabled : true ,
29+ enableCheckpoints : false ,
30+ } ,
3231 text :
3332 "You are the parent task. " +
3433 `Create a subtask by using the new_task tool with the message '${ childPrompt } '.` +
You can’t perform that action at this time.
0 commit comments