mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 10:45:00 +00:00
copy
This commit is contained in:
parent
a94c4b4ce4
commit
0c5b51d2ac
12 changed files with 21 additions and 23 deletions
|
@ -11,14 +11,14 @@ cd /to/your/project
|
||||||
# Work with DeepSeek via DeepSeek's API
|
# Work with DeepSeek via DeepSeek's API
|
||||||
aider --model deepseek --api-key deepseek=your-key-goes-here
|
aider --model deepseek --api-key deepseek=your-key-goes-here
|
||||||
|
|
||||||
# Work with Claude 3.5 Sonnet via Anthropic's API
|
# Work with Claude 3.7 Sonnet via Anthropic's API
|
||||||
aider --model sonnet --api-key anthropic=your-key-goes-here
|
aider --model sonnet --api-key anthropic=your-key-goes-here
|
||||||
|
|
||||||
# Work with GPT-4o via OpenAI's API
|
# Work with GPT-4o via OpenAI's API
|
||||||
aider --model gpt-4o --api-key openai=your-key-goes-here
|
aider --model gpt-4o --api-key openai=your-key-goes-here
|
||||||
|
|
||||||
# Work with Sonnet via OpenRouter's API
|
# Work with Sonnet via OpenRouter's API
|
||||||
aider --model openrouter/anthropic/claude-3.5-sonnet --api-key openrouter=your-key-goes-here
|
aider --model openrouter/anthropic/claude-3.7-sonnet --api-key openrouter=your-key-goes-here
|
||||||
|
|
||||||
# Work with DeepSeek via OpenRouter's API
|
# Work with DeepSeek via OpenRouter's API
|
||||||
aider --model openrouter/deepseek/deepseek-chat --api-key openrouter=your-key-goes-here
|
aider --model openrouter/deepseek/deepseek-chat --api-key openrouter=your-key-goes-here
|
||||||
|
|
|
@ -39,9 +39,7 @@ Aider will directly edit the code in your local source files,
|
||||||
and [git commit the changes](https://aider.chat/docs/git.html)
|
and [git commit the changes](https://aider.chat/docs/git.html)
|
||||||
with sensible commit messages.
|
with sensible commit messages.
|
||||||
You can start a new project or work with an existing git repo.
|
You can start a new project or work with an existing git repo.
|
||||||
Aider works well with GPT 3.5, GPT-4, GPT-4 Turbo with Vision,
|
{% include works-best.md %}
|
||||||
and Claude 3 Opus.
|
|
||||||
It also supports [connecting to almost any LLM](https://aider.chat/docs/llms.html).
|
|
||||||
|
|
||||||
Use the `--browser` switch to launch the browser version of aider:
|
Use the `--browser` switch to launch the browser version of aider:
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Here are
|
||||||
You need an key from an API provider to work with most models:
|
You need an key from an API provider to work with most models:
|
||||||
|
|
||||||
- [OpenAI](https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key) provides o1, o3-mini, gpt-4o and other models. Note that paying for an API key is different than being a "ChatGPT" subscriber.
|
- [OpenAI](https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key) provides o1, o3-mini, gpt-4o and other models. Note that paying for an API key is different than being a "ChatGPT" subscriber.
|
||||||
- [Anthropic](https://docs.anthropic.com/claude/reference/getting-started-with-the-api) provides Claude 3.5 Sonnet and Haiku.
|
- [Anthropic](https://docs.anthropic.com/claude/reference/getting-started-with-the-api) provides Claude 3.7 Sonnet and Haiku.
|
||||||
- [DeepSeek](https://platform.deepseek.com/api_keys) provides DeepSeek R1 and DeepSeek Chat V3.
|
- [DeepSeek](https://platform.deepseek.com/api_keys) provides DeepSeek R1 and DeepSeek Chat V3.
|
||||||
- [OpenRouter](https://openrouter.ai/keys) allows you to access models from many providers using a single key.
|
- [OpenRouter](https://openrouter.ai/keys) allows you to access models from many providers using a single key.
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ description: Aider can connect to most LLMs for AI pair programming.
|
||||||
Aider works best with these models, which are skilled at editing code:
|
Aider works best with these models, which are skilled at editing code:
|
||||||
|
|
||||||
- [DeepSeek R1 and V3](/docs/llms/deepseek.html)
|
- [DeepSeek R1 and V3](/docs/llms/deepseek.html)
|
||||||
- [Claude 3.5 Sonnet](/docs/llms/anthropic.html)
|
- [Claude 3.7 Sonnet](/docs/llms/anthropic.html)
|
||||||
- [OpenAI o1, o3-mini and GPT-4o](/docs/llms/openai.html)
|
- [OpenAI o1, o3-mini and GPT-4o](/docs/llms/openai.html)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ python -m pip install -U aider-chat
|
||||||
export ANTHROPIC_API_KEY=<key> # Mac/Linux
|
export ANTHROPIC_API_KEY=<key> # Mac/Linux
|
||||||
setx ANTHROPIC_API_KEY <key> # Windows, restart shell after setx
|
setx ANTHROPIC_API_KEY <key> # Windows, restart shell after setx
|
||||||
|
|
||||||
# Aider uses Claude 3.5 Sonnet by default (or use --sonnet)
|
# Aider uses Claude 3.7 Sonnet by default (or use --sonnet)
|
||||||
aider
|
aider
|
||||||
|
|
||||||
# Claude 3 Opus
|
# Claude 3 Opus
|
||||||
|
|
|
@ -29,7 +29,7 @@ python -m pip install -U aider-chat
|
||||||
export OPENROUTER_API_KEY=<key> # Mac/Linux
|
export OPENROUTER_API_KEY=<key> # Mac/Linux
|
||||||
setx OPENROUTER_API_KEY <key> # Windows, restart shell after setx
|
setx OPENROUTER_API_KEY <key> # Windows, restart shell after setx
|
||||||
|
|
||||||
aider --model openrouter/anthropic/claude-3.5-sonnet
|
aider --model openrouter/anthropic/claude-3.7-sonnet
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ Place that file in your home directory or the root of your git project, with
|
||||||
entries like this:
|
entries like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: openrouter/anthropic/claude-3.5-sonnet
|
- name: openrouter/anthropic/claude-3.7-sonnet
|
||||||
extra_params:
|
extra_params:
|
||||||
extra_body:
|
extra_body:
|
||||||
provider:
|
provider:
|
||||||
|
|
|
@ -35,8 +35,8 @@ Aider also sends the LLM a [map of your entire git repo](https://aider.chat/docs
|
||||||
|
|
||||||
## Use a more capable model
|
## Use a more capable model
|
||||||
|
|
||||||
If possible try using GPT-4o, Claude 3.5 Sonnet, DeepSeek V3 or DeepSeek R1.
|
If possible try using GPT-4o, o3-mini, Claude 3.7 Sonnet, DeepSeek V3 or DeepSeek R1.
|
||||||
They are the strongest and most capable models.
|
They are the strong and capable models.
|
||||||
|
|
||||||
Weaker models
|
Weaker models
|
||||||
are more prone to
|
are more prone to
|
||||||
|
|
|
@ -13,14 +13,14 @@ command line arguments, like this:
|
||||||
# Work with DeepSeek via DeepSeek's API
|
# Work with DeepSeek via DeepSeek's API
|
||||||
aider --model deepseek --api-key deepseek=your-key-goes-here
|
aider --model deepseek --api-key deepseek=your-key-goes-here
|
||||||
|
|
||||||
# Work with Claude 3.5 Sonnet via Anthropic's API
|
# Work with Claude 3.7 Sonnet via Anthropic's API
|
||||||
aider --model sonnet --api-key anthropic=your-key-goes-here
|
aider --model sonnet --api-key anthropic=your-key-goes-here
|
||||||
|
|
||||||
# Work with o3-mini via OpenAI's API
|
# Work with o3-mini via OpenAI's API
|
||||||
aider --model o3-mini --api-key openai=your-key-goes-here
|
aider --model o3-mini --api-key openai=your-key-goes-here
|
||||||
|
|
||||||
# Work with Sonnet via OpenRouter's API
|
# Work with Sonnet via OpenRouter's API
|
||||||
aider --model openrouter/anthropic/claude-3.5-sonnet --api-key openrouter=your-key-goes-here
|
aider --model openrouter/anthropic/claude-3.7-sonnet --api-key openrouter=your-key-goes-here
|
||||||
|
|
||||||
# Work with DeepSeek Chat V3 via OpenRouter's API
|
# Work with DeepSeek Chat V3 via OpenRouter's API
|
||||||
aider --model openrouter/deepseek/deepseek-chat --api-key openrouter=your-key-goes-here
|
aider --model openrouter/deepseek/deepseek-chat --api-key openrouter=your-key-goes-here
|
||||||
|
|
|
@ -71,7 +71,7 @@ relevant context from the rest of your repo.
|
||||||
# o3-mini
|
# o3-mini
|
||||||
$ aider --model o3-mini --api-key openai=<key>
|
$ aider --model o3-mini --api-key openai=<key>
|
||||||
|
|
||||||
# Claude 3.5 Sonnet
|
# Claude 3.7 Sonnet
|
||||||
$ aider --model sonnet --api-key anthropic=<key>
|
$ aider --model sonnet --api-key anthropic=<key>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -41,8 +41,8 @@ Aider will directly edit the code in your local source files,
|
||||||
and [git commit the changes](https://aider.chat/docs/git.html)
|
and [git commit the changes](https://aider.chat/docs/git.html)
|
||||||
with sensible commit messages.
|
with sensible commit messages.
|
||||||
You can start a new project or work with an existing git repo.
|
You can start a new project or work with an existing git repo.
|
||||||
Aider works well with GPT 3.5, GPT-4, GPT-4 Turbo with Vision,
|
Aider works well with
|
||||||
and Claude 3 Opus.
|
GPT-4o, Sonnet 3.7, and DeepSeek Chat V3 & R1.
|
||||||
It also supports [connecting to almost any LLM](https://aider.chat/docs/llms.html).
|
It also supports [connecting to almost any LLM](https://aider.chat/docs/llms.html).
|
||||||
|
|
||||||
Use the `--browser` switch to launch the browser version of aider:
|
Use the `--browser` switch to launch the browser version of aider:
|
||||||
|
|
|
@ -11,7 +11,7 @@ You can add images and URLs to the aider chat.
|
||||||
## Images
|
## Images
|
||||||
|
|
||||||
Aider supports working with image files for many vision-capable models
|
Aider supports working with image files for many vision-capable models
|
||||||
like GPT-4o and Claude 3.5 Sonnet.
|
like GPT-4o and Claude 3.7 Sonnet.
|
||||||
Adding images to a chat can be helpful in many situations:
|
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.
|
- Add screenshots of web pages or UIs that you want aider to build or modify.
|
||||||
|
|
|
@ -33,7 +33,7 @@ cog.out(text)
|
||||||
Aider lets you pair program with LLMs,
|
Aider lets you pair program with LLMs,
|
||||||
to edit code in your local git repository.
|
to edit code in your local git repository.
|
||||||
Start a new project or work with an existing code base.
|
Start a new project or work with an existing code base.
|
||||||
Aider works best with Claude 3.5 Sonnet, DeepSeek R1 & Chat V3, OpenAI o1, o3-mini & GPT-4o. Aider can [connect to almost any LLM, including local models](https://aider.chat/docs/llms.html).
|
Aider works best with Claude 3.7 Sonnet, DeepSeek R1 & Chat V3, OpenAI o1, o3-mini & GPT-4o. Aider can [connect to almost any LLM, including local models](https://aider.chat/docs/llms.html).
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<p align="center">
|
<p align="center">
|
||||||
|
@ -81,14 +81,14 @@ cd /to/your/project
|
||||||
# Work with DeepSeek via DeepSeek's API
|
# Work with DeepSeek via DeepSeek's API
|
||||||
aider --model deepseek --api-key deepseek=your-key-goes-here
|
aider --model deepseek --api-key deepseek=your-key-goes-here
|
||||||
|
|
||||||
# Work with Claude 3.5 Sonnet via Anthropic's API
|
# Work with Claude 3.7 Sonnet via Anthropic's API
|
||||||
aider --model sonnet --api-key anthropic=your-key-goes-here
|
aider --model sonnet --api-key anthropic=your-key-goes-here
|
||||||
|
|
||||||
# Work with GPT-4o via OpenAI's API
|
# Work with GPT-4o via OpenAI's API
|
||||||
aider --model gpt-4o --api-key openai=your-key-goes-here
|
aider --model gpt-4o --api-key openai=your-key-goes-here
|
||||||
|
|
||||||
# Work with Sonnet via OpenRouter's API
|
# Work with Sonnet via OpenRouter's API
|
||||||
aider --model openrouter/anthropic/claude-3.5-sonnet --api-key openrouter=your-key-goes-here
|
aider --model openrouter/anthropic/claude-3.7-sonnet --api-key openrouter=your-key-goes-here
|
||||||
|
|
||||||
# Work with DeepSeek via OpenRouter's API
|
# Work with DeepSeek via OpenRouter's API
|
||||||
aider --model openrouter/deepseek/deepseek-chat --api-key openrouter=your-key-goes-here
|
aider --model openrouter/deepseek/deepseek-chat --api-key openrouter=your-key-goes-here
|
||||||
|
@ -119,10 +119,10 @@ for more details.
|
||||||
- Edit files in your editor or IDE while chatting with aider,
|
- Edit files in your editor or IDE while chatting with aider,
|
||||||
and it will always use the latest version.
|
and it will always use the latest version.
|
||||||
Pair program with AI.
|
Pair program with AI.
|
||||||
- [Add images to the chat](https://aider.chat/docs/usage/images-urls.html) (GPT-4o, Claude 3.5 Sonnet, etc).
|
- [Add images to the chat](https://aider.chat/docs/usage/images-urls.html) (GPT-4o, Claude 3.7 Sonnet, etc).
|
||||||
- [Add URLs to the chat](https://aider.chat/docs/usage/images-urls.html) and aider will read their content.
|
- [Add URLs to the chat](https://aider.chat/docs/usage/images-urls.html) and aider will read their content.
|
||||||
- [Code with your voice](https://aider.chat/docs/usage/voice.html).
|
- [Code with your voice](https://aider.chat/docs/usage/voice.html).
|
||||||
- Aider works best with Claude 3.5 Sonnet, DeepSeek V3, o1 & GPT-4o and can [connect to almost any LLM](https://aider.chat/docs/llms.html).
|
- Aider works best with Claude 3.7 Sonnet, DeepSeek V3, o1 & GPT-4o and can [connect to almost any LLM](https://aider.chat/docs/llms.html).
|
||||||
|
|
||||||
|
|
||||||
## Top tier performance
|
## Top tier performance
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue