diff --git a/src/core/tools/attemptCompletionTool.ts b/src/core/tools/attemptCompletionTool.ts index 0d5400ebff..36228999c1 100644 --- a/src/core/tools/attemptCompletionTool.ts +++ b/src/core/tools/attemptCompletionTool.ts @@ -45,7 +45,10 @@ export async function attemptCompletionTool( cline.recordToolError("attempt_completion") pushToolResult( - formatResponse.toolError(t("tools:attemptCompletion.errors.incompleteTodos"), "attempt_completion"), + formatResponse.toolError( + "Cannot complete task while there are incomplete todos. Please complete all todos before attempting completion.", + "attempt_completion", + ), ) return diff --git a/src/core/tools/executeCommandTool.ts b/src/core/tools/executeCommandTool.ts index 4367075259..d29aaa7c33 100644 --- a/src/core/tools/executeCommandTool.ts +++ b/src/core/tools/executeCommandTool.ts @@ -175,7 +175,7 @@ export async function executeCommand( try { await fs.access(workingDir) } catch (error) { - return [false, t("tools:executeCommand.workingDirMissing", { workingDir })] + return [false, `Working directory '${workingDir}' does not exist.`] } let message: { text?: string; images?: string[] } | undefined