From 148353aca47e8af39e4bdb5629b88ea90711193b Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 7 Mar 2025 15:56:13 -0800 Subject: [PATCH] refactor: Revert reasoning content tag changes to original implementation --- aider/coders/base_coder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index bb93f4560..07cfe009b 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -1804,7 +1804,7 @@ class Coder: reasoning_content = chunk.choices[0].delta.reasoning_content if reasoning_content: if not self.got_reasoning_content: - text += REASONING_START + text += f"<{REASONING_TAG}>\n\n" text += reasoning_content self.got_reasoning_content = True received_content = True @@ -1815,7 +1815,7 @@ class Coder: content = chunk.choices[0].delta.content if content: if self.got_reasoning_content and not self.ended_reasoning_content: - text += REASONING_END + text += f"\n\n\n\n" self.ended_reasoning_content = True text += content