top | item 44110375

(no title)

silverlake | 9 months ago

Have you guys at Cline considered using LLMs to create summaries of files and complex functions? Rather than read a 500 line function, feed it a short comment on what the function is doing. I'd like to use a local LLM to create summaries at every level: function, file, directory. Then let the LLM use that to find the right code to read. This is basically how I navigate a large code base.

discuss

order

dpe82|9 months ago

I've just used Cline to produce files like that, and then later when starting a task in plan mode I tell it to read those files to get a sense of the project's structure. I also tell it to update them as necessary after whatever task we're doing is finished.

noman-land|9 months ago

So you're effectively keeping two copies of the codebase but the second copy is written in prose?

zentara_code|9 months ago

Would it double your codebase? Do you think it would work for a large codebase?