mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
fix bug blocking addition of subdir filename mentions
This commit is contained in:
parent
16a21d9844
commit
78d9d014f2
2 changed files with 5 additions and 2 deletions
|
@ -586,6 +586,9 @@ class Coder:
|
|||
mentioned_rel_fnames = set()
|
||||
fname_to_rel_fnames = {}
|
||||
for rel_fname in addable_rel_fnames:
|
||||
if rel_fname in words:
|
||||
mentioned_rel_fnames.add(str(rel_fname))
|
||||
|
||||
fname = os.path.basename(rel_fname)
|
||||
if fname not in fname_to_rel_fnames:
|
||||
fname_to_rel_fnames[fname] = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue