mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
sort the file list in the prompt
This commit is contained in:
parent
ffe3da4df1
commit
4f2e1d14ef
1 changed files with 3 additions and 1 deletions
|
@ -176,7 +176,9 @@ class Coder:
|
|||
files_listing = get_tags_map(other_files)
|
||||
ctags_msg = " with selected ctags content"
|
||||
else:
|
||||
files_listing = "\n".join(self.get_rel_fname(ofn) for ofn in other_files)
|
||||
files_listing = "\n".join(
|
||||
self.get_rel_fname(ofn) for ofn in sorted(other_files)
|
||||
)
|
||||
ctags_msg = ""
|
||||
|
||||
if self.abs_fnames:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue