From c3065663b2e34ac42b5003901da563df7ef1fcae Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Fri, 7 Mar 2025 01:15:40 -0500 Subject: [PATCH] Subtask logic fix --- src/core/Cline.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/core/Cline.ts b/src/core/Cline.ts index 0f1ffd16db..d1d271847f 100644 --- a/src/core/Cline.ts +++ b/src/core/Cline.ts @@ -2897,14 +2897,6 @@ export class Cline { false, ) - if (this.isSubTask) { - // tell the provider to remove the current subtask and resume the previous task in the stack (it might decide to run the command) - await this.providerRef - .deref() - ?.finishSubTask(`new_task finished successfully! ${lastMessage?.text}`) - break - } - await this.ask( "command", removeClosingTag("command", command),