mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-09 06:05:00 +00:00
Added improved editing support for command-r-plus
This commit is contained in:
parent
b882d5db4c
commit
cd838901d1
4 changed files with 34 additions and 5 deletions
|
@ -65,6 +65,8 @@ class WholeFileCoder(Coder):
|
|||
fname_source = "block"
|
||||
fname = lines[i - 1].strip()
|
||||
fname = fname.strip("*") # handle **filename.py**
|
||||
fname = fname.rstrip(":")
|
||||
fname = fname.strip("`")
|
||||
|
||||
# Did gpt prepend a bogus dir? It especially likes to
|
||||
# include the path/to prefix from the one-shot example in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue