mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
style: Format code with linter and improve readability
This commit is contained in:
parent
8d2159761f
commit
da89d6ab9c
1 changed files with 4 additions and 1 deletions
|
@ -1887,7 +1887,10 @@ class Coder:
|
|||
|
||||
if self.main_model.remove_reasoning:
|
||||
import re
|
||||
pattern = f"<{self.main_model.remove_reasoning}>.*?</{self.main_model.remove_reasoning}>"
|
||||
|
||||
pattern = (
|
||||
f"<{self.main_model.remove_reasoning}>.*?</{self.main_model.remove_reasoning}>"
|
||||
)
|
||||
res = re.sub(pattern, "", res, flags=re.DOTALL)
|
||||
|
||||
return res
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue