From 590ec419930fc46f687b61fc8b204204718c1abe Mon Sep 17 00:00:00 2001 From: Mitsuki Ogasahara Date: Mon, 1 Jul 2024 22:05:50 +0900 Subject: [PATCH 1/2] feat: add image support for Claude 3.5 --- aider/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aider/models.py b/aider/models.py index 7013bc709..423f3f80b 100644 --- a/aider/models.py +++ b/aider/models.py @@ -190,6 +190,7 @@ MODEL_SETTINGS = [ use_repo_map=True, examples_as_sys_msg=True, can_prefill=True, + accepts_images=True, ), ModelSettings( "anthropic/claude-3-5-sonnet-20240620", @@ -206,6 +207,7 @@ MODEL_SETTINGS = [ use_repo_map=True, examples_as_sys_msg=True, can_prefill=True, + accepts_images=True, ), # Vertex AI Claude models ModelSettings( @@ -215,6 +217,7 @@ MODEL_SETTINGS = [ use_repo_map=True, examples_as_sys_msg=True, can_prefill=True, + accepts_images=True, ), ModelSettings( "vertex_ai/claude-3-opus@20240229", From 693c4bc57cbaa73c349607344e1c21c318b2db43 Mon Sep 17 00:00:00 2001 From: Mitsuki Ogasahara Date: Mon, 1 Jul 2024 22:20:32 +0900 Subject: [PATCH 2/2] fix: Add image support of Claude 3.5 to doc --- website/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/index.md b/website/index.md index cbf8498df..afd519f7a 100644 --- a/website/index.md +++ b/website/index.md @@ -93,7 +93,7 @@ and can [connect to almost any LLM](https://aider.chat/docs/llms.html). - Edit files in your editor while chatting with aider, and it will always use the latest version. Pair program with AI. -- Add images to the chat (GPT-4o, GPT-4 Turbo, etc). +- Add images to the chat (GPT-4o, GPT-4 Turbo, Claude 3.5 Sonnet, etc). - Add URLs to the chat and aider will read their content. - [Code with your voice](https://aider.chat/docs/voice.html).