Re:Show HN: FileKitty – Combine and label text files for LLM...
by anotherpaulg on Wednesday May 01, 2024 @08:48PM
(#40231504)
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