mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
fix: Prompt user to confirm file edits before proceeding
This commit is contained in:
parent
26745426ae
commit
130c6f7308
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ class SeniorCoder(AskCoder):
|
|||
def reply_completed(self):
|
||||
content = self.partial_response_content
|
||||
|
||||
if not self.io.confirm_ask("Edit the files?"):
|
||||
return
|
||||
|
||||
kwargs = dict(self.original_kwargs)
|
||||
kwargs["edit_format"] = self.main_model.junior_edit_format
|
||||
kwargs["suggest_shell_commands"] = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue