feat: Apply reasoning tag formatting in non-pretty streaming output

This commit is contained in:
Paul Gauthier (aider) 2025-03-07 15:59:05 -08:00
parent b58f879db7
commit fb96cbcaaf

View file

@ -1827,6 +1827,9 @@ class Coder:
if self.show_pretty():
self.live_incremental_response(False)
elif text:
# Apply reasoning tag formatting
if self.got_reasoning_content:
text = self.replace_reasoning_tags(text, REASONING_TAG)
try:
sys.stdout.write(text)
except UnicodeEncodeError: