mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 19:24:59 +00:00
copy
This commit is contained in:
parent
f21f094cd8
commit
0b9aac5348
1 changed files with 3 additions and 13 deletions
|
@ -12,20 +12,10 @@ The steps below are completely optional.
|
||||||
{:toc}
|
{:toc}
|
||||||
|
|
||||||
|
|
||||||
## Store your api key
|
## Store your api keys
|
||||||
|
|
||||||
You can place your api key in an environment variable:
|
|
||||||
|
|
||||||
* `export OPENAI_API_KEY=sk-...` on Linux or Mac
|
|
||||||
* `setx OPENAI_API_KEY sk-...` in Windows PowerShell
|
|
||||||
|
|
||||||
Or you can create a `.aider.conf.yml` file in your home directory.
|
|
||||||
Put a line in it like this to specify your api key:
|
|
||||||
|
|
||||||
```
|
|
||||||
openai-api-key: sk-...
|
|
||||||
```
|
|
||||||
|
|
||||||
|
You can place your [api keys in a `.env` file](/docs/config/dotenv.html)
|
||||||
|
and they will be loaded automatically whenever you run aider.
|
||||||
|
|
||||||
## Enable Playwright
|
## Enable Playwright
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue