Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Improving GPT-4's codebase understanding with ctags (github.com/paul-gauthier)
2 points by anotherpaulg on May 22, 2023 | hide | past | favorite | 1 comment


While GPT-4 excels at coding tasks, it struggles with modifying code in larger code bases. Many common types of code changes require knowledge and context from multiple files scattered throughout a large repo. This is a challenge for GPT-4, which can only fit 8k-tokens worth of code in its context window.

To address this issue, aider has a new experimental feature that utilizes ctags to provide GPT with a map of the whole repository, enabling it to better comprehend and navigate larger repos.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: