Note use of AZURE_OPENAI_API_xxx #672

This commit is contained in:
Paul Gauthier 2024-06-14 06:16:53 -07:00
parent a07492b90a
commit 5fd8bb69ca
2 changed files with 12 additions and 0 deletions

View 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).

View file

@ -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`.