Updated HISTORY and docs

This commit is contained in:
Paul Gauthier 2024-07-01 14:03:54 -03:00
parent 43e95c1aec
commit d229b27bb0
5 changed files with 51 additions and 4 deletions

View file

@ -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 <image-filename>` from within the chat
- Launch aider with image filenames on the command line: `aider --sonnet <image-filename>`
## 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 <url>`
- Just paste the URL into the chat and aider will ask if you want to add it.