mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
Don't ask LLM are you sure about S/R blocks with null R section #835
This commit is contained in:
parent
b4e827ef63
commit
b678e26281
2 changed files with 2 additions and 2 deletions
2
.flake8
2
.flake8
|
@ -1,3 +1,3 @@
|
|||
[flake8]
|
||||
ignore = E203,W503,E231
|
||||
ignore = E203,W503,E231,E222
|
||||
max-line-length = 100
|
||||
|
|
|
@ -78,7 +78,7 @@ class EditBlockCoder(Coder):
|
|||
|
||||
"""
|
||||
|
||||
if updated in content:
|
||||
if updated in content and updated:
|
||||
res += f"""Are you sure you need this SEARCH/REPLACE block?
|
||||
The REPLACE lines are already in {path}!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue