mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fixes #1232
This commit is contained in:
parent
0dfedecff5
commit
7a72c80605
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,10 @@ class WholeFileCoder(Coder):
|
|||
fname = fname.rstrip(":")
|
||||
fname = fname.strip("`")
|
||||
|
||||
# Issue #1232
|
||||
if len(fname) > 250:
|
||||
fname = ""
|
||||
|
||||
# Did gpt prepend a bogus dir? It especially likes to
|
||||
# include the path/to prefix from the one-shot example in
|
||||
# the prompt.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue