diff --git a/aider/coders/architect_coder.py b/aider/coders/architect_coder.py index c6d1c2bd0..a561e3e0d 100644 --- a/aider/coders/architect_coder.py +++ b/aider/coders/architect_coder.py @@ -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?"):