MCPcopy
hub / github.com/Aider-AI/aider / remove_reasoning_content

Method remove_reasoning_content

aider/coders/base_coder.py:1986–1992  ·  view source on GitHub ↗

Remove reasoning content from the model's response.

(self)

Source from the content-addressed store, hash-verified

1984 return self.get_multi_response_content_in_progress()
1985
1986 def remove_reasoning_content(self):
1987 """Remove reasoning content from the model's response."""
1988
1989 self.partial_response_content = remove_reasoning_content(
1990 self.partial_response_content,
1991 self.reasoning_tag_name,
1992 )
1993
1994 def calculate_and_show_tokens_and_cost(self, messages, completion=None):
1995 prompt_tokens = 0

Calls 1

remove_reasoning_contentFunction · 0.90