Added a question at the beginning of a project rerun so user can decide if they want to update files with their latest changes they made

This commit is contained in:
Zvonimir Sabljic
2023-09-12 21:05:40 +02:00
parent 6e977590c3
commit 33c38985bf
2 changed files with 16 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ class CodeMonkey(Agent):
}, IMPLEMENT_CHANGES)
convo.remove_last_x_messages(1)
if ('update_files_before_start' not in self.project.args) or (self.project.skip_until_dev_step != str(self.project.checkpoints['last_development_step'].id)):
if self.project.skip_until_dev_step != str(self.project.checkpoints['last_development_step'].id):
for file_data in changes:
self.project.save_file(file_data)