mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 12:14:59 +00:00
refactor: Remove unused parameter from remove_reasoning_content function
This commit is contained in:
parent
4858749a20
commit
9aacf5c7db
2 changed files with 2 additions and 8 deletions
|
@ -31,6 +31,7 @@ from aider.models import RETRY_TIMEOUT
|
|||
from aider.reasoning_tags import (
|
||||
REASONING_TAG,
|
||||
format_reasoning_content,
|
||||
remove_reasoning_content,
|
||||
replace_reasoning_tags,
|
||||
)
|
||||
from aider.repo import ANY_GIT_ERROR, GitRepo
|
||||
|
@ -1830,12 +1831,9 @@ class Coder:
|
|||
def remove_reasoning_content(self):
|
||||
"""Remove reasoning content from the model's response."""
|
||||
|
||||
from aider.reasoning_tags import remove_reasoning_content
|
||||
|
||||
self.partial_response_content = remove_reasoning_content(
|
||||
self.partial_response_content,
|
||||
self.reasoning_tag_name,
|
||||
self.main_model.remove_reasoning,
|
||||
)
|
||||
|
||||
def calculate_and_show_tokens_and_cost(self, messages, completion=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue