mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
refactor: Extract reasoning content removal to a helper method
This commit is contained in:
parent
5f2cf75be8
commit
97091fab60
1 changed files with 2 additions and 0 deletions
|
@ -1382,10 +1382,12 @@ class Coder:
|
|||
|
||||
self.partial_response_content = self.get_multi_response_content_in_progress(True)
|
||||
|
||||
# make a helper method
|
||||
self.partial_response_content = self.main_model.remove_reasoning_content(
|
||||
self.partial_response_content,
|
||||
self.reasoning_tag_name,
|
||||
)
|
||||
# ... ai!
|
||||
self.multi_response_content = ""
|
||||
|
||||
###
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue