mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
feat: add silent mode option for read_text function
This commit is contained in:
parent
73205b1f8c
commit
a664c3dd47
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue