From fe1d7aa8876dd73b116a5c26f41a22c0577c2856 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 24 Jun 2023 20:10:17 -0700 Subject: [PATCH] path/to not /path/to --- aider/coders/wholefile_coder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/coders/wholefile_coder.py b/aider/coders/wholefile_coder.py index eb74e634c..48e3339e3 100644 --- a/aider/coders/wholefile_coder.py +++ b/aider/coders/wholefile_coder.py @@ -66,7 +66,7 @@ class WholeFileCoder(Coder): # fname==None ... starting a new block if i > 0: fname = lines[i - 1].strip() - path_to = "/path/to/" + path_to = "path/to/" # gpt-3.5 will sometimes crib /path/to from the one-shot example if fname.startswith(path_to) and fname not in chat_files: fname = fname[len(path_to) :]