feat: add silent mode option for read_text function

This commit is contained in:
Paul Gauthier 2024-12-05 16:22:42 -08:00 committed by Paul Gauthier (aider)
parent 73205b1f8c
commit a664c3dd47

View file

@ -321,6 +321,7 @@ class InputOutput:
self.tool_error(f"{filename}: {e}")
return
# add silent=False, if true don't output any error messages. SEARCH/REPLACE the entire func. AI!
def read_text(self, filename):
if is_image_file(filename):
return self.read_image(filename)