Added a warning if the user adds many files totaling many tokens

This commit is contained in:
Paul Gauthier 2024-02-25 15:34:51 -08:00
parent 98db78887d
commit 49c904eea5
2 changed files with 36 additions and 0 deletions

View file

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