mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-09 06:05:00 +00:00
wip
This commit is contained in:
parent
151b7b2811
commit
ba6e2eeb63
3 changed files with 49 additions and 21 deletions
|
@ -20,7 +20,8 @@ class WholeFileCoder(Coder):
|
|||
else:
|
||||
self.cur_messages += [dict(role="assistant", content=content)]
|
||||
|
||||
def modify_incremental_response(self, resp):
|
||||
def modify_incremental_response(self):
|
||||
resp = self.partial_response_content
|
||||
return self.update_files(resp, mode="diff")
|
||||
|
||||
def update_files(self, content, mode="update"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue