crates/assistant_tools/src/create_file_tool.rs 🔗
@@ -41,7 +41,7 @@ impl Tool for CreateFileTool {
}
fn needs_confirmation(&self) -> bool {
- true
+ false
}
fn description(&self) -> String {
Antonio Scandurra created
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
crates/assistant_tools/src/create_file_tool.rs | 2 +-
crates/assistant_tools/src/edit_files_tool.rs | 2 +-
crates/assistant_tools/src/find_replace_file_tool.rs | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
@@ -41,7 +41,7 @@ impl Tool for CreateFileTool {
}
fn needs_confirmation(&self) -> bool {
- true
+ false
}
fn description(&self) -> String {
@@ -82,7 +82,7 @@ impl Tool for EditFilesTool {
}
fn needs_confirmation(&self) -> bool {
- true
+ false
}
fn description(&self) -> String {
@@ -130,7 +130,7 @@ impl Tool for FindReplaceFileTool {
}
fn needs_confirmation(&self) -> bool {
- true
+ false
}
fn description(&self) -> String {