mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
copy
This commit is contained in:
parent
17f7297d86
commit
56a9463db8
1 changed files with 13 additions and 8 deletions
|
@ -37,26 +37,31 @@ Use /help to see in-chat commands, run with --help to see cmd line args
|
|||
|
||||
## Adding files
|
||||
|
||||
Just add the files that the aider will need to *edit*.
|
||||
Add the files that the aider will need to *edit*.
|
||||
|
||||
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).
|
||||
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 can also run aider without naming any files and use the in-chat
|
||||
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.
|
||||
|
||||
Or you can skip adding files completely, and aider
|
||||
will try to figure out which files need to be edited based
|
||||
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.
|
||||
|
||||
## LLMs
|
||||
|
||||
Aider uses GPT-4o by default, but you can
|
||||
[connect to many different LLMs](/docs/llms.html).
|
||||
Claude 3 Opus is another model which works very well with aider,
|
||||
which you can use by running `aider --opus`.
|
||||
Claude 3.5 Sonnet is also works very well with aider,
|
||||
which you can use by running `aider --sonnet`.
|
||||
|
||||
You can run `aider --model XXX` to launch aider with
|
||||
a specific model.
|
||||
|
@ -68,8 +73,8 @@ Or, during your chat you can switch models with the in-chat
|
|||
Ask aider to make changes to your code.
|
||||
It will show you some diffs of the changes it is making to
|
||||
complete you request.
|
||||
Aider will git commit all of its changes,
|
||||
[Aider will git commit all of its changes](/docs/git.html),
|
||||
so they are easy to track and undo.
|
||||
|
||||
You can always use the `/undo` command to undo changes you don't
|
||||
You can always use the `/undo` command to undo AI changes that you don't
|
||||
like.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue