mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-12 07:35:00 +00:00
Added tips
This commit is contained in:
parent
9ab36b565d
commit
cd81e967f3
11 changed files with 52 additions and 9 deletions
|
@ -39,3 +39,6 @@ Using an `.env` file:
|
|||
```
|
||||
AIDER_DARK_MODE=true
|
||||
```
|
||||
|
||||
{% include env-keys-tip.md %}
|
||||
|
||||
|
|
|
@ -16,6 +16,8 @@ Below is a sample of the file, which you
|
|||
can also
|
||||
[download from GitHub](https://github.com/paul-gauthier/aider/blob/main/aider/website/assets/sample.aider.conf.yml).
|
||||
|
||||
{% include env-keys-tip.md %}
|
||||
|
||||
<!--[[[cog
|
||||
from aider.args import get_sample_yaml
|
||||
from pathlib import Path
|
||||
|
@ -32,6 +34,10 @@ cog.outl("```")
|
|||
# Place in your home dir, or at the root of your git repo.
|
||||
##########################################################
|
||||
|
||||
# Note: You can only put OpenAI and Anthropic API keys in the yaml
|
||||
# config file. Keys for all APIs can be stored in a .env file
|
||||
# https://aider.chat/docs/config/dotenv.html
|
||||
|
||||
##########
|
||||
# options:
|
||||
|
||||
|
|
|
@ -9,6 +9,8 @@ description: Frequently asked questions about aider.
|
|||
- TOC
|
||||
{:toc}
|
||||
|
||||
{% include help-tip.md %}
|
||||
|
||||
## How can I add ALL the files to the chat?
|
||||
|
||||
People regularly ask about how to add **many or all of their repo's files** to the chat.
|
||||
|
|
|
@ -9,3 +9,5 @@ description: How to troubleshoot problems with aider and get help.
|
|||
Below are some approaches for troubleshooting problems with aider.
|
||||
|
||||
{% include help.md %}
|
||||
|
||||
{% include help-tip.md %}
|
||||
|
|
|
@ -35,10 +35,18 @@ Use /help to see in-chat commands, run with --help to see cmd line args
|
|||
...
|
||||
```
|
||||
|
||||
{% include help-tip.md %}
|
||||
|
||||
## Adding files
|
||||
|
||||
Add the files that the aider will need to *edit*.
|
||||
To edit files, you need to "add them to the chat".
|
||||
Do this
|
||||
by naming them on the aider command line.
|
||||
Or, you can use the in-chat
|
||||
`/add` command to add files.
|
||||
|
||||
|
||||
Only add the files that need to be edited for your task.
|
||||
Don't add a bunch of extra files.
|
||||
If you add too many files, the LLM can get overwhelmed
|
||||
and confused (and it costs more tokens).
|
||||
|
@ -46,15 +54,13 @@ Aider will automatically
|
|||
pull in content from related files so that it can
|
||||
[understand the rest of your code base](https://aider.chat/docs/repomap.html).
|
||||
|
||||
You add files to the chat by naming them on the aider command line.
|
||||
Or, you can use the in-chat
|
||||
`/add` command to add files.
|
||||
|
||||
You can use aider without adding any files,
|
||||
and it will try to figure out which files need to be edited based
|
||||
on your requests.
|
||||
But you'll get the best results if you add the files that need
|
||||
to edited.
|
||||
|
||||
{: .tip }
|
||||
You'll get the best results if you think about which files need to be
|
||||
edited and add them to the chat.
|
||||
|
||||
## LLMs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue