mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
Replaced find_similar_lines
with find_similar_text
in the EditBlockCoder
class.
This commit is contained in:
parent
587ba4d676
commit
6d39e2c857
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class EditBlockCoder(Coder):
|
||||||
full_path = self.abs_root_path(path)
|
full_path = self.abs_root_path(path)
|
||||||
content = self.io.read_text(full_path)
|
content = self.io.read_text(full_path)
|
||||||
|
|
||||||
did_you_mean = find_similar_lines(original, content)
|
did_you_mean = find_similar_text(original, content)
|
||||||
|
|
||||||
res += f"""
|
res += f"""
|
||||||
## SearchReplaceNoExactMatch: This SEARCH block failed to exactly match lines in {path}
|
## SearchReplaceNoExactMatch: This SEARCH block failed to exactly match lines in {path}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue