mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
refactor: Simplify reasoning tag replacement in live_incremental_response method
This commit is contained in:
parent
1585c6095e
commit
b58f879db7
1 changed files with 1 additions and 3 deletions
|
@ -1843,9 +1843,7 @@ class Coder:
|
|||
|
||||
def live_incremental_response(self, final):
|
||||
show_resp = self.render_incremental_response(final)
|
||||
# Apply any reasoning tag formatting
|
||||
if self.got_reasoning_content:
|
||||
show_resp = self.replace_reasoning_tags(show_resp, REASONING_TAG)
|
||||
show_resp = self.replace_reasoning_tags(show_resp, REASONING_TAG)
|
||||
self.mdstream.update(show_resp, final=final)
|
||||
|
||||
def render_incremental_response(self, final):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue