refactor: improve file path handling and remove debug code

This commit is contained in:
Paul Gauthier 2024-12-01 08:27:15 -08:00 committed by Paul Gauthier (aider)
parent ee4206099a
commit 59af7ed3bb
4 changed files with 3 additions and 4 deletions

View file

@ -319,7 +319,6 @@ class InputOutput:
self.tool_error(f"{filename}: {e}")
return
# add a silent=False arg that suppresses error output ai!
def read_text(self, filename):
if is_image_file(filename):
return self.read_image(filename)