You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/Cline.ts
+21-12Lines changed: 21 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1417,6 +1417,18 @@ export class Cline {
1417
1417
returntrue
1418
1418
}
1419
1419
1420
+
constaskFinishSubTaskApproval=async()=>{
1421
+
// ask the user to approve this task has completed, and he has reviewd it, and we can declare task is finished
1422
+
// and return control to the parent task to continue running the rest of the sub-tasks
1423
+
consttoolMessage=JSON.stringify({
1424
+
tool: "finishTask",
1425
+
content:
1426
+
"Subtask completed! You can review the results and suggest any corrections or next steps. If everything looks good, confirm to return the result to the parent task.",
0 commit comments