I asked GPT4 to refactor a simple, working python script for my smart lights… and it completely butchered the code and apologized mid-generation.
No amount of pleading or correction would get it to function as it did just a week or two ago.
It is so over.
Rewriting the whole code sometimes happen to me. But it just means gpt is already at token limit on one answer. You can copy the unfinished code then make it to continue.
Try avoiding to make gpt generate a long code.