From d229b27bb0278ee700afec0f0a9a2a7d701f1141 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 1 Jul 2024 14:03:54 -0300 Subject: [PATCH] Updated HISTORY and docs --- HISTORY.md | 3 +++ README.md | 4 ++-- website/HISTORY.md | 3 +++ website/docs/images-urls.md | 41 +++++++++++++++++++++++++++++++++++++ website/index.md | 4 ++-- 5 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 website/docs/images-urls.md diff --git a/HISTORY.md b/HISTORY.md index e7c09f80d..aecc220df 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -5,7 +5,10 @@ - Allow Claude 3.5 Sonnet to stream back >4k tokens! - It is the first model capable of writing such large coherent, useful code edits. + - Do large refactors or generate multiple files of new code in one go. +- Enabled [image support](https://aider.chat/docs/images-urls.html) for 3.5 Sonnet and for GPT-4o & 3.5 Sonnet via OpenRouter (by @yamitzky). - Added `--attribute-commit-message` to prefix aider's commit messages with "aider:". +- Fixed regression in quality of one-line commit messages. - Bumped dependency versions. ### Aider v0.40.6 diff --git a/README.md b/README.md index 3bdbc20a4..0f40212dd 100644 --- a/README.md +++ b/README.md @@ -79,8 +79,8 @@ 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 URLs to the chat and aider will read their content. +- [Add images to the chat](https://aider.chat/docs/images-urls.html) (GPT-4o, Claude 3.5 Sonnet, etc). +- [Add URLs to the chat](https://aider.chat/docs/images-urls.html) and aider will read their content. - [Code with your voice](https://aider.chat/docs/voice.html). diff --git a/website/HISTORY.md b/website/HISTORY.md index fa1c8c7fd..fbcb8e73f 100644 --- a/website/HISTORY.md +++ b/website/HISTORY.md @@ -16,7 +16,10 @@ cog.out(text) - Allow Claude 3.5 Sonnet to stream back >4k tokens! - It is the first model capable of writing such large coherent, useful code edits. + - Do large refactors or generate multiple files of new code in one go. +- Enabled [image support](https://aider.chat/docs/images-urls.html) for 3.5 Sonnet and for GPT-4o & 3.5 Sonnet via OpenRouter (by @yamitzky). - Added `--attribute-commit-message` to prefix aider's commit messages with "aider:". +- Fixed regression in quality of one-line commit messages. - Bumped dependency versions. ### Aider v0.40.6 diff --git a/website/docs/images-urls.md b/website/docs/images-urls.md new file mode 100644 index 000000000..3fb526e09 --- /dev/null +++ b/website/docs/images-urls.md @@ -0,0 +1,41 @@ +--- +parent: Usage +nav_order: 700 +description: Add images and URLs to the aider coding chat. +--- + +# Images & URLs + +You can add images and URLs to the aider chat. + +## Images + +Aider supports working with image files for many vision-capable models +like GPT-4o and Claude 3.5 Sonnet. +Adding images to a chat can be helpful in many situations: + +- Add screenshots of web pages or UIs that you want aider to build or modify. +- Show aider a mockup of a UI you want to build. +- Screenshot an error message that is otherwise hard to copy & paste as text. +- Etc. + +To add images to the chat: + +- Use `/add ` from within the chat +- Launch aider with image filenames on the command line: `aider --sonnet ` + +## URLs + +Aider can scrape the text from URLs and add it to the chat. +This can be helpful to: + +- Include documentation pages for less popular APIs. +- Include the latest docs for libraries or packages that are newer than the model's training cutoff date. +- Etc. + +To add URLs to the chat: + +- Use `/web ` +- Just paste the URL into the chat and aider will ask if you want to add it. + + diff --git a/website/index.md b/website/index.md index cbf8498df..e70259f77 100644 --- a/website/index.md +++ b/website/index.md @@ -93,8 +93,8 @@ 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 URLs to the chat and aider will read their content. +- [Add images to the chat](https://aider.chat/docs/images-urls.html) (GPT-4o, Claude 3.5 Sonnet, etc). +- [Add URLs to the chat](https://aider.chat/docs/images-urls.html) and aider will read their content. - [Code with your voice](https://aider.chat/docs/voice.html).