prompt-tower
prompt-tower copied to clipboard
Feature idea: Code packing
Saw this project with some similarities to prompt-tower, their idea of compacting the code before passing it to the LLM makes sense sense I think: https://github.com/codingworkflow/ai-code-fusion/
An extension that seems to do something similar, just for reference: https://marketplace.visualstudio.com/items?itemName=lakpahana.export-to-llm-gitingest
I don't see a "packing" feature there.
I do think I will add some quick wins like remove comments. Maybe tree-sitter large files.
Possibly soon have a "generate file summary tree" feature that generates summaries as best as possible (macro connected algo to ensure proper context for large codebases above 500k tokens).
A summary tree can be constructed and take place of the actual file contents. Ie a 5M tokens codebase could appear as much smaller using only the summary tree.