mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
copy
This commit is contained in:
parent
c21118ce5c
commit
fbe3daaa5b
1 changed files with 6 additions and 2 deletions
|
@ -171,8 +171,12 @@ environment variable to have aider connect to it.
|
|||
```
|
||||
pip install aider-chat
|
||||
export OPENAI_API_BASE=<your-endpoint-goes-here>
|
||||
export OPENAI_API_KEY=<your-key-goes-here-if-required>
|
||||
aider --model <model-name>
|
||||
|
||||
# If your endpoint needs a key
|
||||
export OPENAI_API_KEY=<your-key-goes-here>
|
||||
|
||||
# Prefix the model name with openai/
|
||||
aider --model openai/<model-name>
|
||||
```
|
||||
|
||||
See the [model warnings](#model-warnings)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue