Added --opus

This commit is contained in:
Paul Gauthier 2024-04-18 17:01:37 -07:00
parent 3e153cc7fa
commit 93bd187bf3
4 changed files with 15 additions and 19 deletions

View file

@ -15,19 +15,12 @@ using Aider's code editing benchmark suite.
Claude 3 Opus outperforms all of OpenAI's models,
making it the best available model for pair programming with AI.
Aider currently supports Claude 3 Opus via
[OpenRouter](https://aider.chat/docs/faq.html#accessing-other-llms-with-openrouter):
To use Claude 3 Opus with aider:
```
# Install aider
pip install aider-chat
# Setup OpenRouter access
export OPENAI_API_KEY=<your-openrouter-key>
export OPENAI_API_BASE=https://openrouter.ai/api/v1
# Run aider with Claude 3 Opus using the diff editing format
aider --model anthropic/claude-3-opus --edit-format diff
export ANTHROPIC_API_KEY=sk-...
aider --opus
```
## Aider's code editing benchmark