From 6d39e2c857947438b2d34bf51074adff776a479b Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 11 May 2024 10:43:38 -0700 Subject: [PATCH] Replaced `find_similar_lines` with `find_similar_text` in the `EditBlockCoder` class. --- aider/coders/editblock_coder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/coders/editblock_coder.py b/aider/coders/editblock_coder.py index 67d217d98..b16fd3c84 100644 --- a/aider/coders/editblock_coder.py +++ b/aider/coders/editblock_coder.py @@ -57,7 +57,7 @@ class EditBlockCoder(Coder): full_path = self.abs_root_path(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""" ## SearchReplaceNoExactMatch: This SEARCH block failed to exactly match lines in {path}