refactor: sort files in format_files_for_input method

This commit is contained in:
Paul Gauthier 2024-10-24 13:48:31 -07:00 committed by Paul Gauthier (aider)
parent e18b8b0a29
commit a68178fd1b

View file

@ -699,6 +699,8 @@ class InputOutput:
) )
self.chat_history_file = None # Disable further attempts to write self.chat_history_file = None # Disable further attempts to write
### sort the files! @ai (and also remove this text)
def format_files_for_input(self, rel_fnames, rel_read_only_fnames): def format_files_for_input(self, rel_fnames, rel_read_only_fnames):
read_only_files = [] read_only_files = []
for full_path in rel_read_only_fnames or []: for full_path in rel_read_only_fnames or []: