From a68178fd1bb297214d79b42b479fb3308e9f21a6 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 24 Oct 2024 13:48:31 -0700 Subject: [PATCH] refactor: sort files in format_files_for_input method --- aider/io.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aider/io.py b/aider/io.py index 20903c3dc..0fc9e39f3 100644 --- a/aider/io.py +++ b/aider/io.py @@ -699,6 +699,8 @@ class InputOutput: ) 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): read_only_files = [] for full_path in rel_read_only_fnames or []: