mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
refactor: Update reasoning tag handling in live_incremental_response method
This commit is contained in:
parent
9d686d3e52
commit
5c3b4bd987
1 changed files with 3 additions and 1 deletions
|
@ -1858,7 +1858,9 @@ 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)
|
||||||
show_resp = self.replace_reasoning_tags(show_resp, REASONING_TAG)
|
# Apply any reasoning tag formatting
|
||||||
|
if self.got_reasoning_content:
|
||||||
|
show_resp = self.replace_reasoning_tags(show_resp)
|
||||||
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