mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
copy
This commit is contained in:
parent
7fbd9e2be4
commit
573a6814b2
2 changed files with 12 additions and 10 deletions
|
@ -79,12 +79,12 @@ which contains many benchmarking articles.
|
|||
To access the OpenRouter models, simply:
|
||||
|
||||
```
|
||||
# Install Aider
|
||||
# Install aider
|
||||
pip install aider-chat
|
||||
|
||||
# Setup openrouter access
|
||||
# Setup OpenRouter access
|
||||
export OPENAI_API_KEY=<your-openrouter-key>
|
||||
export export OPENAI_API_BASE=https://openrouter.ai/api/v1
|
||||
export OPENAI_API_BASE=https://openrouter.ai/api/v1
|
||||
|
||||
# For example, run aider with Claude 3 Opus using the diff editing format
|
||||
aider --model anthropic/claude-3-opus --edit-format diff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue