原文:https://x.com/shl/status/1887485983823740934
用 repomix 把代码库压缩成单个文件,然后丢给 Gemini 总结(上下文比较大,能够有 2M),再把总结丢给 Devin(一个自主编码的 LLM Agent)。
I use repomix to calculate the size of the codebase and combine the whole repo it into a single file. Then I paste that into Gemini’s 2M context window to summarize. Then I paste the response to that into the repo’s codebase as summary docs, for Devin to look at as it writes new