mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
copy
This commit is contained in:
parent
068a1edded
commit
d373a3b64a
1 changed files with 6 additions and 5 deletions
|
@ -43,15 +43,16 @@ with the prints, and it also needs to understand how the project's BarLog
|
||||||
logging system works.
|
logging system works.
|
||||||
|
|
||||||
A simple solution is to **send the entire codebase** to GPT along with
|
A simple solution is to **send the entire codebase** to GPT along with
|
||||||
each change request. Now GPT has all the context! But even moderately
|
each change request. Now GPT has all the context! But this won't work
|
||||||
sized repos won't fit in the 8k-token context window.
|
for even moderately
|
||||||
|
sized repos that won't fit in the 8k-token context window.
|
||||||
|
|
||||||
An
|
An
|
||||||
improved approach is to be selective, and **hand pick which files to send**.
|
improved approach is to be selective, and **hand pick which files to send**.
|
||||||
For the example above, you could send the file that
|
For the example above, you could send the file that
|
||||||
contains Foo and the file that contains the logging subsystem.
|
contains Foo and the file that contains the BarLog logging subsystem.
|
||||||
This works pretty well, and is how `aider` previously worked. You
|
This works pretty well, and is supported by `aider`: you
|
||||||
manually specify which files to "add to the chat".
|
can manually specify which files to "add to the chat".
|
||||||
|
|
||||||
But it's not ideal to have to manually identify the right
|
But it's not ideal to have to manually identify the right
|
||||||
set of files to add to the chat.
|
set of files to add to the chat.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue