mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
parent
f24c04320e
commit
1858f0504b
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ class WholeFileCoder(Coder):
|
||||||
if i > 0:
|
if i > 0:
|
||||||
fname_source = "block"
|
fname_source = "block"
|
||||||
fname = lines[i - 1].strip()
|
fname = lines[i - 1].strip()
|
||||||
|
fname = fname.strip("*") # handle **filename.py**
|
||||||
|
|
||||||
# Did gpt prepend a bogus dir? It especially likes to
|
# Did gpt prepend a bogus dir? It especially likes to
|
||||||
# include the path/to prefix from the one-shot example in
|
# include the path/to prefix from the one-shot example in
|
||||||
# the prompt.
|
# the prompt.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue