mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
refactor: Simplify reasoning tag handling in base coder
This commit is contained in:
parent
de4693cdf3
commit
8233eb6007
1 changed files with 1 additions and 6 deletions
|
@ -1384,14 +1384,9 @@ class Coder:
|
|||
|
||||
self.partial_response_content = self.get_multi_response_content_in_progress(True)
|
||||
|
||||
if self.got_reasoning_content:
|
||||
reasoning_tag = REASONING_TAG
|
||||
else:
|
||||
reasoning_tag = None
|
||||
|
||||
self.partial_response_content = self.main_model.remove_reasoning_content(
|
||||
self.partial_response_content,
|
||||
reasoning_tag=reasoning_tag,
|
||||
self.reasoning_tag_name,
|
||||
)
|
||||
self.multi_response_content = ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue