mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
fix test for windows
This commit is contained in:
parent
6f1e26157e
commit
a84dca870e
1 changed files with 4 additions and 7 deletions
|
@ -856,10 +856,10 @@ class Coder:
|
||||||
if self.mdstream:
|
if self.mdstream:
|
||||||
self.live_incremental_response(True)
|
self.live_incremental_response(True)
|
||||||
|
|
||||||
if self.multi_response_content:
|
if self.multi_response_content:
|
||||||
self.multi_response_content += self.partial_response_content
|
self.multi_response_content += self.partial_response_content
|
||||||
self.partial_response_content = self.multi_response_content
|
self.partial_response_content = self.multi_response_content
|
||||||
self.multi_response_content = ""
|
self.multi_response_content = ""
|
||||||
|
|
||||||
if exhausted:
|
if exhausted:
|
||||||
self.show_exhausted_error()
|
self.show_exhausted_error()
|
||||||
|
@ -1201,9 +1201,6 @@ class Coder:
|
||||||
|
|
||||||
def live_incremental_response(self, final):
|
def live_incremental_response(self, final):
|
||||||
show_resp = self.render_incremental_response(final)
|
show_resp = self.render_incremental_response(final)
|
||||||
if not show_resp:
|
|
||||||
return
|
|
||||||
|
|
||||||
self.mdstream.update(show_resp, final=final)
|
self.mdstream.update(show_resp, final=final)
|
||||||
|
|
||||||
def render_incremental_response(self, final):
|
def render_incremental_response(self, final):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue