Avoid requiring confirmation for tools that edit buffers (#27923)

It's super easy to undo those changes. In a future PR, we should also
avoid requiring confirmation in the batch tool if all the underlying
tools don't require confirmation.

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra 2025-04-02 17:13:16 +02:00 committed by GitHub
parent 8ac4cbcbb9
commit 7a54dd7190
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ impl Tool for CreateFileTool {
}
fn needs_confirmation(&self) -> bool {
true
false
}
fn description(&self) -> String {

View file

@ -82,7 +82,7 @@ impl Tool for EditFilesTool {
}
fn needs_confirmation(&self) -> bool {
true
false
}
fn description(&self) -> String {

View file

@ -130,7 +130,7 @@ impl Tool for FindReplaceFileTool {
}
fn needs_confirmation(&self) -> bool {
true
false
}
fn description(&self) -> String {