refactor: Extract reasoning content removal to a helper method

This commit is contained in:
Paul Gauthier 2025-03-07 17:28:49 -08:00 committed by Paul Gauthier (aider)
parent 5f2cf75be8
commit 97091fab60

View file

@ -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 = ""
###