mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
copy
This commit is contained in:
parent
a8a04bfd0d
commit
7cc26f0cb2
1 changed files with 8 additions and 6 deletions
|
@ -2,13 +2,15 @@
|
||||||
# Improving GPT-4's codebase understanding with ctags
|
# Improving GPT-4's codebase understanding with ctags
|
||||||
|
|
||||||
GPT-4 is extremely useful for "self-contained" coding tasks,
|
GPT-4 is extremely useful for "self-contained" coding tasks,
|
||||||
like generating new code or modifying a pure function without dependencies.
|
like generating brand new code or modifying a pure function without dependencies.
|
||||||
But it's difficult to use GPT-4 to modify code with dependencies
|
But it's difficult to use GPT-4 to modify or extend
|
||||||
that are scattered across many files of a codebase.
|
a complex pre-existing codebase, which has many dependencies
|
||||||
To modify such code, GPT needs to see all of these dependencies.
|
between different parts of the system.
|
||||||
|
To modify such code, GPT needs to understand all of these dependencies.
|
||||||
And depending on the assigned coding task, it may not be obvious
|
And depending on the assigned coding task, it may not be obvious
|
||||||
how to even determine which parts of the repo are relevent a priori.
|
how to even determine which parts of the repo are relevent to the task.
|
||||||
Further, all of this context needs to fit within GPT-4's 8k-token
|
Further, assuming we can identify the correct context, it still
|
||||||
|
needs to fit within GPT-4's 8k-token
|
||||||
context window.
|
context window.
|
||||||
|
|
||||||
To address this issue, `aider` has
|
To address this issue, `aider` has
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue