mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
path/to not /path/to
This commit is contained in:
parent
b1cdb9d488
commit
fe1d7aa887
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class WholeFileCoder(Coder):
|
||||||
# fname==None ... starting a new block
|
# fname==None ... starting a new block
|
||||||
if i > 0:
|
if i > 0:
|
||||||
fname = lines[i - 1].strip()
|
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
|
# gpt-3.5 will sometimes crib /path/to from the one-shot example
|
||||||
if fname.startswith(path_to) and fname not in chat_files:
|
if fname.startswith(path_to) and fname not in chat_files:
|
||||||
fname = fname[len(path_to) :]
|
fname = fname[len(path_to) :]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue