mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
Added a warning if the user adds many files totaling many tokens
This commit is contained in:
parent
98db78887d
commit
49c904eea5
2 changed files with 36 additions and 0 deletions
|
@ -386,6 +386,7 @@ class Commands:
|
|||
else:
|
||||
self.coder.abs_fnames.add(abs_file_path)
|
||||
self.io.tool_output(f"Added {matched_file} to the chat")
|
||||
self.coder.check_added_files()
|
||||
added_fnames.append(matched_file)
|
||||
|
||||
if not added_fnames:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue