this post was submitted on 06 Jul 2023
104 points (96.4% liked)

ChatGPT

8824 readers
5 users here now

Unofficial ChatGPT community to discuss anything ChatGPT

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago

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.