mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 20:54:59 +00:00
copy
This commit is contained in:
parent
386a262434
commit
ff4dbb8973
1 changed files with 4 additions and 4 deletions
|
@ -49,8 +49,8 @@ The latest version of `aider` sends a **repo map** to GPT along with
|
||||||
each change request. The map contains a list of all the files in the
|
each change request. The map contains a list of all the files in the
|
||||||
repo, along with the symbols which are defined in each file. Callables
|
repo, along with the symbols which are defined in each file. Callables
|
||||||
like functions and methods also include their signatures. Here's a
|
like functions and methods also include their signatures. Here's a
|
||||||
piece of the map for the aider repo, just for
|
piece of the map for the aider repo, just for the
|
||||||
[main.py](https://github.com/paul-gauthier/aider/blob/main/aider/main.py):
|
[main.py](https://github.com/paul-gauthier/aider/blob/main/aider/main.py) file:
|
||||||
|
|
||||||
```
|
```
|
||||||
aider/
|
aider/
|
||||||
|
@ -70,7 +70,7 @@ Mapping out the repo like this provides some benefits:
|
||||||
Of course, for large repositories, even their map might be too large
|
Of course, for large repositories, even their map might be too large
|
||||||
for the context window. However, this mapping approach opens up the
|
for the context window. However, this mapping approach opens up the
|
||||||
ability to collaborate with GPT-4 on larger codebases than previous
|
ability to collaborate with GPT-4 on larger codebases than previous
|
||||||
methods. It also minimizes the need for manual curation of files to
|
methods. It also reduces the need for manual curation of files to
|
||||||
add to the chat context, empowering GPT to autonomously identify
|
add to the chat context, empowering GPT to autonomously identify
|
||||||
relevant files for the task at hand.
|
relevant files for the task at hand.
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ minimal number of tokens.
|
||||||
|
|
||||||
## Try it out
|
## Try it out
|
||||||
|
|
||||||
To use this experimental repo map feature with `aider`:
|
To use this experimental repo map feature:
|
||||||
|
|
||||||
- Install [universal ctags](https://github.com/universal-ctags/ctags).
|
- Install [universal ctags](https://github.com/universal-ctags/ctags).
|
||||||
- Run `aider` with the `--ctags` option.
|
- Run `aider` with the `--ctags` option.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue