mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
copy
This commit is contained in:
parent
fed7e9b408
commit
51c8bf0614
1 changed files with 8 additions and 6 deletions
|
@ -20,13 +20,15 @@ GPT-4 is actually great at making the code changes (3),
|
||||||
once you tell it which files need to be changed (1)
|
once you tell it which files need to be changed (1)
|
||||||
and show it how they fit into the rest of the codebase (2).
|
and show it how they fit into the rest of the codebase (2).
|
||||||
|
|
||||||
This article is going to focus on the problem of "code context" (2), where we need to:
|
This article is going to focus on the problem of "code context" (2):
|
||||||
|
|
||||||
- Help GPT understand the overall codebase, so that it
|
- We need to help GPT understand the overall codebase.
|
||||||
can decifer the meaning of code with complex dependencies and generate
|
- This will help it understand the code it needs to change, which may depend on other parts of the codebase.
|
||||||
new code that respects and utilizes existing abstractions.
|
- It will also help GPT write new code and modify the existing code in a way
|
||||||
- Convey all of this "code context" to GPT in an
|
that respects and utilizes existing libraries, modules and abstractions
|
||||||
efficient manner that fits within GPT's context window.
|
found elsewhere in the codebase.
|
||||||
|
- We must convey all of this "code context" to GPT in an
|
||||||
|
efficient manner that fits within the limited context window.
|
||||||
|
|
||||||
To address these issues, aider
|
To address these issues, aider
|
||||||
sends GPT a **concise map of your whole git repository**
|
sends GPT a **concise map of your whole git repository**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue