From d42c684a366fdab8fd11ef5a07bfba818c85ba5b Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 10 May 2023 12:14:36 -0700 Subject: [PATCH] Fixed a bug where the coder was not splitting the arguments correctly. --- aider/coder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/coder.py b/aider/coder.py index 294e48da0..5178f1d70 100755 --- a/aider/coder.py +++ b/aider/coder.py @@ -488,7 +488,7 @@ class Coder: "Add files to the chat" files = self.get_active_files() - for word in args: + for word in args.split(): matched_files = [file for file in files if word in file] for matched_file in matched_files: abs_file_path = os.path.abspath(os.path.join(self.root, matched_file))