diff --git a/src/core/Cline.ts b/src/core/Cline.ts index add5ea8..6a66dff 100644 --- a/src/core/Cline.ts +++ b/src/core/Cline.ts @@ -568,7 +568,7 @@ export class Cline { newUserContent.push({ type: "text", text: - `Task resumption: This autonomous coding task was interrupted ${agoText}. It may or may not be complete, so please reassess the task context. Be aware that the project state may have changed since then. The current working directory is now '${cwd.toPosix()}'. If the task has not been completed, retry the last step before interruption and proceed with completing the task. Note: If you previously attempted a tool use that the user did not provide a result for, you should assume the tool use was not successful and assess whether you should retry.` + + `[TASK RESUMPTION] This task was interrupted ${agoText}. It may or may not be complete, so please reassess the task context. Be aware that the project state may have changed since then. The current working directory is now '${cwd.toPosix()}'. If the task has not been completed, retry the last step before interruption and proceed with completing the task. Note: If you previously attempted a tool use that the user did not provide a result for, you should assume the tool use was not successful and assess whether you should retry.` + (responseText ? `\n\nNew instructions for task continuation:\n\n${responseText}\n` : ""),