Comment by anotherpaulg
1 year 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:
Ah wasn't aware, nice work!
aider is super limited. solid approach but needs a lot of work to make it usable