This commit is contained in:
Paul Gauthier 2024-06-05 16:05:33 -07:00
parent 0effca7e88
commit 066325d093
4 changed files with 9 additions and 20 deletions

View file

@ -1,17 +1,14 @@
# Aider is AI pair programming in your terminal
Aider lets you pair program with LLMs,
to edit code in your local git repository.
Aider edits the code in your local source files,
and [git commits the changes](https://aider.chat/docs/faq.html#how-does-aider-use-git).
Start a new project or work with an existing git repo.
Aider works well with GPT-4o, Claude 3 Opus, GPT-3.5
and can [connect to almost any LLM](https://aider.chat/docs/llms.html).
<p align="center">
<img src="website/assets/screencast.svg" alt="aider screencast">
<img src="assets/screencast.svg" alt="aider screencast">
</p>
<p align="center">

View file

View file

@ -4,15 +4,18 @@ nav_order: 70
---
# Aider can connect to most LLMs
{: .no_toc }
[![connecting to many LLMs](/assets/llms.jpg)](https://aider.chat/assets/llms.jpg)
## Best models
{: .no_toc }
**Aider works best with [GPT-4o](#openai) and [Claude 3 Opus](#anthropic),**
as they are the very best models for editing code.
## Free models
{: .no_toc }
Aider works with a number of **free** API providers:
@ -23,6 +26,7 @@ code editing capabilities similar to GPT-3.5.
- Cohere also offers free API access to their [Command-R+ model](#cohere), which works with aider as a *very basic* coding assistant.
## Local models
{: .no_toc }
Aider can work also with local models, for example using [Ollama](#ollama).
It can also access
@ -30,6 +34,7 @@ local models that provide an
[Open AI compatible API](#openai-compatible-apis).
## Use a capable model
{: .no_toc }
Check
[Aider's LLM leaderboards](https://aider.chat/docs/leaderboards/)
@ -43,21 +48,10 @@ returning "code edits".
Models weaker than GPT 3.5 may have problems working well with aider.
## Configuring models
{: .no_toc }
- [OpenAI](#openai)
- [Anthropic](#anthropic)
- [Gemini](#gemini)
- [Groq & Llama3](#groq)
- [Cohere](#cohere)
- [Azure](#azure)
- [OpenRouter](#openrouter)
- [Ollama](#ollama)
- [Deepseek](#deepseek)
- [OpenAI compatible APIs](#openai-compatible-apis)
- [Other LLMs](#other-llms)
- [Model warnings](#model-warnings)
- [Editing format](#editing-format)
- [Using a .env file](#using-a-env-file)
- TOC
{:toc}
Aider uses the LiteLLM package to connect to LLM providers.
The [LiteLLM provider docs](https://docs.litellm.ai/docs/providers)

View file

@ -7,8 +7,6 @@ nav_order: 1
Aider lets you pair program with LLMs,
to edit code in your local git repository.
Aider edits the code in your local source files,
and [git commits the changes](https://aider.chat/docs/faq.html#how-does-aider-use-git).
Start a new project or work with an existing git repo.
Aider works well with GPT-4o, Claude 3 Opus, GPT-3.5
and can [connect to almost any LLM](https://aider.chat/docs/llms.html).