mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
fix: Handle empty content in reply_completed method
This commit is contained in:
parent
6acbff3c11
commit
ea1a4ecdc6
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class ArchitectCoder(AskCoder):
|
||||||
def reply_completed(self):
|
def reply_completed(self):
|
||||||
content = self.partial_response_content
|
content = self.partial_response_content
|
||||||
|
|
||||||
if not content.strip():
|
if not content or not content.strip():
|
||||||
return
|
return
|
||||||
|
|
||||||
if not self.io.confirm_ask("Edit the files?"):
|
if not self.io.confirm_ask("Edit the files?"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue