Fixed a bug where the coder was not splitting the arguments correctly.

This commit is contained in:
Paul Gauthier 2023-05-10 12:14:36 -07:00
parent cbb3d4f15f
commit d42c684a36

View file

@ -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))