mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-09 06:05:00 +00:00
wip
This commit is contained in:
parent
f00a1e827a
commit
a6d80e815e
2 changed files with 9 additions and 8 deletions
|
@ -36,7 +36,7 @@ class WholeFileCoder(Coder):
|
|||
fname = None
|
||||
new_lines = []
|
||||
for i, line in enumerate(lines):
|
||||
if line.startswith(self.fence_ticks):
|
||||
if line.startswith(self.get_fence_ticks()):
|
||||
if fname is not None:
|
||||
# ending an existing block
|
||||
saw_fname = None
|
||||
|
@ -79,7 +79,7 @@ class WholeFileCoder(Coder):
|
|||
else:
|
||||
# TODO: sense which file it is by diff size
|
||||
raise ValueError(
|
||||
f"No filename provided before {self.fence_ticks} in file listing"
|
||||
f"No filename provided before {self.get_fence_ticks()} in file listing"
|
||||
)
|
||||
|
||||
elif fname is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue