2 ms·
This is what aider does, using tree sitter to extract the AST from each source file. It uses the ASTs to build a call graph. And then does a graph optimization
by anotherpaulg 2y ago
This is what aider does, using tree sitter to extract the AST from each source file. It uses the ASTs to build a call graph. And then does a graph optimization to identify the most relevant parts of the code base, given the current state of the LLM chat.
There’s more details in this article:
https://aider.chat/2023/10/22/repomap.html https://aider.chat/2023/10/22/repomap.html
- arthurcolle 2y agoaider is super limited. solid approach but needs a lot of work to make it usable
- _andrei_ 2y agoAh wasn't aware, nice work!