mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
feat: Apply reasoning tag formatting in non-pretty streaming output
This commit is contained in:
parent
b58f879db7
commit
fb96cbcaaf
1 changed files with 3 additions and 0 deletions
|
@ -1827,6 +1827,9 @@ class Coder:
|
||||||
if self.show_pretty():
|
if self.show_pretty():
|
||||||
self.live_incremental_response(False)
|
self.live_incremental_response(False)
|
||||||
elif text:
|
elif text:
|
||||||
|
# Apply reasoning tag formatting
|
||||||
|
if self.got_reasoning_content:
|
||||||
|
text = self.replace_reasoning_tags(text, REASONING_TAG)
|
||||||
try:
|
try:
|
||||||
sys.stdout.write(text)
|
sys.stdout.write(text)
|
||||||
except UnicodeEncodeError:
|
except UnicodeEncodeError:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue