I'll drop a gem if you're using Chat GPT because I picked this one up from twitter. If it cuts off before it finishes tell it to "continue at " and paste in the last line it completed. Sometimes it works, sometimes it doesn't. You can always click the "Try again".