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
+24-2Lines changed: 24 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1414,6 +1414,18 @@ export class Cline {
1414
1414
returntrue
1415
1415
}
1416
1416
1417
+
constaskFinishSubTaskApproval=async()=>{
1418
+
// ask the user to approve this task has completed, and he has reviewd it, and we can declare task is finished
1419
+
// and return control to the parent task to continue running the rest of the sub-tasks
1420
+
consttoolMessage=JSON.stringify({
1421
+
tool: "finishTask",
1422
+
content:
1423
+
"Task completed! You can review the results and suggest any corrections or next steps. If everything looks good, confirm to continue with the next task.",
0 commit comments