GPT coding is interesting - and with this, it includes Copilot and Rider's AI. On an initial request, it will sometimes generate correct code. It often gets code wrong. It'll pull things that worked on older versions but that change substantially on newer.
It will randomly change unrelated things.