4 ms·
This is exactly how aider shares code context with LLMs using a “repo map”. It uses tree sitter to collapse relevant files into this sort of folded version, sho
by anotherpaulg 2y ago
This is exactly how aider shares code context with LLMs using a “repo map”. It uses tree sitter to collapse relevant files into this sort of folded version, showing function signatures but eliding their bodies.
https://aider.chat/docs/repomap.html https://aider.chat/docs/repomap.html