mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
refactor: use main_model.info["supports_vision"] instead of accepts_images
This commit is contained in:
parent
e0a1eefe0a
commit
9507f3c008
2 changed files with 4 additions and 2 deletions
|
@ -679,7 +679,7 @@ class Coder:
|
|||
return chat_files_messages
|
||||
|
||||
def get_images_message(self):
|
||||
if not self.main_model.accepts_images:
|
||||
if not self.main_model.info.get("supports_vision"):
|
||||
return None
|
||||
|
||||
image_messages = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue