mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
Merge branch 'main' into glob-add
This commit is contained in:
commit
033541d01f
5 changed files with 51 additions and 3 deletions
|
@ -30,7 +30,10 @@ class WholeFileCoder(Coder):
|
|||
return context
|
||||
|
||||
def render_incremental_response(self, final):
|
||||
return self.update_files(mode="diff")
|
||||
try:
|
||||
return self.update_files(mode="diff")
|
||||
except ValueError:
|
||||
return self.partial_response_content
|
||||
|
||||
def update_files(self, mode="update"):
|
||||
content = self.partial_response_content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue