mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 22:04:59 +00:00
Fixed a bug where the coder was not splitting the arguments correctly.
This commit is contained in:
parent
cbb3d4f15f
commit
d42c684a36
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue