fix: Handle empty content in reply_completed method

This commit is contained in:
Paul Gauthier 2024-11-13 12:57:45 -08:00 committed by Paul Gauthier (aider)
parent 6acbff3c11
commit ea1a4ecdc6

View file

@ -10,7 +10,7 @@ class ArchitectCoder(AskCoder):
def reply_completed(self):
content = self.partial_response_content
if not content.strip():
if not content or not content.strip():
return
if not self.io.confirm_ask("Edit the files?"):