mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-12 07:35:00 +00:00
updated keys config docs
This commit is contained in:
parent
2feb85e831
commit
4b6ae34800
7 changed files with 8 additions and 20 deletions
|
@ -1,5 +0,0 @@
|
||||||
{: .tip }
|
|
||||||
All API keys can be stored in a
|
|
||||||
[.env file](/docs/config/dotenv.html#storing-llm-keys)
|
|
||||||
or in a [YAML config file](/docs/config/aider_conf.html#storing-llm-keys).
|
|
||||||
|
|
4
aider/website/_includes/keys.md
Normal file
4
aider/website/_includes/keys.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{: .tip :}
|
||||||
|
See the
|
||||||
|
[API key configuration docs](/docs/config/api-keys.html)
|
||||||
|
for information on how to configure and store your API keys.
|
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -40,5 +40,5 @@ Using an `.env` file:
|
||||||
AIDER_DARK_MODE=true
|
AIDER_DARK_MODE=true
|
||||||
```
|
```
|
||||||
|
|
||||||
{% include env-keys-tip.md %}
|
{% include keys.md %}
|
||||||
|
|
||||||
|
|
|
@ -15,11 +15,7 @@ load whichever is found first.
|
||||||
- The root of your git repo.
|
- The root of your git repo.
|
||||||
- Your home directory.
|
- Your home directory.
|
||||||
|
|
||||||
## Storing LLM keys
|
{% include keys.md %}
|
||||||
|
|
||||||
{% include special-keys.md %}
|
|
||||||
|
|
||||||
{% include env-keys-tip.md %}
|
|
||||||
|
|
||||||
## A note on lists
|
## A note on lists
|
||||||
|
|
||||||
|
|
|
@ -20,11 +20,7 @@ Aider will look for a `.env` file in these locations:
|
||||||
|
|
||||||
If the files above exist, they will be loaded in that order. Files loaded last will take priority.
|
If the files above exist, they will be loaded in that order. Files loaded last will take priority.
|
||||||
|
|
||||||
## Storing LLM keys
|
{% include keys.md %}
|
||||||
|
|
||||||
{% include special-keys.md %}
|
|
||||||
|
|
||||||
{% include env-keys-tip.md %}
|
|
||||||
|
|
||||||
## Sample .env file
|
## Sample .env file
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,7 @@ or review them below.
|
||||||
- TOC
|
- TOC
|
||||||
{:toc}
|
{:toc}
|
||||||
|
|
||||||
## LLM keys
|
{% include keys.md %}
|
||||||
|
|
||||||
{% include special-keys.md %}
|
|
||||||
|
|
||||||
## Usage summary
|
## Usage summary
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue