On one project, apply often doesn’t apply anything, or randomly decides to delete bunch of methods, or (rarely) somehow ignores response from sonnet and rewrites functions from a response to methods?
Even in the few cases when apply works, it is not very useful, because it places new methods/functions in incorrect spots, typically in the end of class or file (they should be after similar methods/functions as I wrote in the chat, even specifically naming what is after what doesn’t help).
I suspect it has to do with file length and/or that I often see wrong file names in responses (e.g. Opt.ts.snap
instead of test/Opt.ts
). Maybe it doesn’t like I have src/Opt.ts
and test/Opt.ts
?
Sometimes LLM (Opus and Sonnet) decides to reimplement existing methods, but those are probably different types of issues (context limit, RAG or something).