mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 12:14:59 +00:00
copy
This commit is contained in:
parent
6803238b15
commit
f5f813431d
1 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ a large, complex pre-existing codebase.
|
||||||
To modify such code, GPT needs to understand the dependencies and APIs
|
To modify such code, GPT needs to understand the dependencies and APIs
|
||||||
which interconnect all of its subsystems.
|
which interconnect all of its subsystems.
|
||||||
Somehow we need to provide this "code context" to GPT
|
Somehow we need to provide this "code context" to GPT
|
||||||
when we ask it to accomplish some coding task. Specifically, we need to:
|
when we ask it to accomplish a coding task. Specifically, we need to:
|
||||||
|
|
||||||
- Help GPT understand the overall codebase, so that it
|
- Help GPT understand the overall codebase, so that it
|
||||||
can decifer the meaning of code with complex dependencies and generate
|
can decifer the meaning of code with complex dependencies and generate
|
||||||
|
@ -181,7 +181,7 @@ is not an efficient solution to this problem,
|
||||||
there are probably better approaches than
|
there are probably better approaches than
|
||||||
"send the whole repo map with every request".
|
"send the whole repo map with every request".
|
||||||
Sending an appropriate subset of the repo map would help `aider` work
|
Sending an appropriate subset of the repo map would help `aider` work
|
||||||
better with even larger repositories which have large maps:
|
better with even larger repositories which have large maps.
|
||||||
|
|
||||||
Some possible approaches to reducing the amount of map data are:
|
Some possible approaches to reducing the amount of map data are:
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ which can be easily deployed against most popular code languages.
|
||||||
The `ctypes` solution has this benefit, since it comes pre-built
|
The `ctypes` solution has this benefit, since it comes pre-built
|
||||||
with tooling for most popular languages.
|
with tooling for most popular languages.
|
||||||
I suspect that Language Server Protocol servers might be another
|
I suspect that Language Server Protocol servers might be another
|
||||||
relevant tool to solve these "code context" problems.
|
relevant tool to help solve these "code context" problems.
|
||||||
|
|
||||||
## Try it out
|
## Try it out
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue