Add comment

This commit is contained in:
Saoud Rizwan 2024-12-31 18:15:05 -08:00
parent 5141bd9e6c
commit a7e9d47375

View file

@ -1291,6 +1291,7 @@ export class Cline {
let didApprove = true
const { response, text, images } = await this.ask("tool", completeMessage, false)
if (response !== "yesButtonClicked") {
// TODO: add similar context for other tool denial responses, to emphasize ie that a command was not run
const fileDeniedNote = fileExists
? "The file was not updated, and maintains its original contents."
: "The file was not created."