AI Started to be lazy, and diff is omitting code based on the lazy response

Recently, when i ask composer to do some change that will touch a few files, the AI response contains something like
// … (rest of the component)
{/* … (other navigation items) */}
// … (existing JSX)

when diff sees that it omits all the code matching this position, I had either to do the change manually, or deal with the consonances of the diff.

You need to enhance your prompting to the AI to avoid this pitfall

Thanks for the feedback. We’re working on making Composer more robust to exactly these sorts of situations.

1 Like

I also met the same problems sometimes, it is very annoying, I must be careful when I see any “// … existing code … OR …(rest…” in the generated codes.

Same experience (it never used to happen before, but something has changed)