mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
Note use of AZURE_OPENAI_API_xxx #672
This commit is contained in:
parent
a07492b90a
commit
5fd8bb69ca
2 changed files with 12 additions and 0 deletions
9
website/_includes/special-keys.md
Normal file
9
website/_includes/special-keys.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
Aider has special support for providing
|
||||
OpenAI and Anthropic API keys
|
||||
via command line switches and yaml config settings.
|
||||
*All other LLM providers* must
|
||||
have their keys and settings
|
||||
specified in environment variables.
|
||||
This can be done in your shell,
|
||||
or by using a
|
||||
[`.env` file](/docs/dotenv.html).
|
|
@ -25,3 +25,6 @@ aider --model azure/<your_deployment_name>
|
|||
# List models available from Azure
|
||||
aider --models azure/
|
||||
```
|
||||
|
||||
Note that aider will also use environment variables
|
||||
like `AZURE_OPENAI_API_xxx`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue