I’ve also had that experience on multiple occasions. Sometimes Perplexity and I get there in the end but on occasions I have abandoned the thread and asked my question on Gemini and got a solution within two or three loops. Yet again, at other times all attempts have failed.
As mentioned above Laporte used Claude code but did not repeatedly prompt for a refinement of the answer to his problem. He just let it do it without review. This is either very brave or foolhardy but Claude has gained a reputation for providing good code. In any event the undo / revert command apparently works flawlessly.
Perplexity is a middleman between user and LLM and offers various options from Sonar, Gemini, GPT, Claude, Grok and Kimi K2. Claude Opus 4.5 is the top tier for coding tasks but getting the Perplexity max subscription to use it bumps the monthly payments from $US17 to $US167 per month.
So … no.