mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
copy
This commit is contained in:
parent
83101a813a
commit
608f570f0f
1 changed files with 7 additions and 1 deletions
|
@ -11,11 +11,17 @@ worth of code in its context window.
|
||||||
|
|
||||||
To address this issue, `aider` has
|
To address this issue, `aider` has
|
||||||
a new experimental feature that utilizes `ctags` to provide
|
a new experimental feature that utilizes `ctags` to provide
|
||||||
GPT with a **concise map of the whole repository** including
|
GPT with a **concise map of your whole git repository** including
|
||||||
all declared variables and functions with call signatures.
|
all declared variables and functions with call signatures.
|
||||||
This *repo map* enables GPT to better comprehend, navigate
|
This *repo map* enables GPT to better comprehend, navigate
|
||||||
and edit the code in larger repos.
|
and edit the code in larger repos.
|
||||||
|
|
||||||
|
To get a sense of how effective this can be, this
|
||||||
|
[chat transcript](https://aider.chat/examples/add-test.html)
|
||||||
|
shows GPT-4 creating a black box test case, **without being given
|
||||||
|
access to the source code of the function being tested or any of the
|
||||||
|
other code in the repo.**
|
||||||
|
|
||||||
## The problem: code context
|
## The problem: code context
|
||||||
|
|
||||||
GPT-4 is great at "self contained" coding tasks, like writing or
|
GPT-4 is great at "self contained" coding tasks, like writing or
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue