Missing feature to automatically include related files. or Still not good enough

In Composer, I think it’s missing the feature to automatically include related files. This could be done by something like a small model that has access to the RAG index. It should work like this, or in any better way:

This is my suggestion: When a user sends a command, the small model checks the message and decides which files should be added to the context. Then it sends this information to a big model like Claude Sonnet 3.5 or any model the user chooses.

By doing this, the code quality will be much better.

2 Likes

I was about to suggest the same thing. It would be a major improvement to my workflow. Currently, a lot of cognitive load is caused by me having to decide which files are relevant to the request (not an actual software developer). I hope an LLM could do a good enough job quickly.