There's an infinity include when doing undo

There’s an edge case when I need to undo things, that the included files gets repeated over and over again

Hey, this looks really weird. Can you provide some more information about what caused this?

Yeah, of course. I was using the AI assistant with CMD+K multiple times, including files from the codebase in a row. Then, I wanted to undo something, but each time I pressed CMD+Z, the number of files included kept increasing, and at the same time, it didn’t undo anything.

It doesn’t always happen, but sometimes it does. I’m not sure why.

Thanks for the report, I’ve logged this with the team.
When using the CMD+K, you should be able to undo with no issues!

Thanks you for the quick fix!