ChatGPT sometimes not finish its code or sentence, how do I solve this?

I have the same problem on a ChatGPT Plus account.

1 Like

Yup, so far the same issue with GPT Plus.
The 50 line prompt kind of helps.

1 Like

Can you give an example?
No matter what I’ve tried so far ChatGPT doesn’t continue from where it cuts off.

I’ve found that if I type ā€œPlease continueā€ then GPT-4 continues writing the code where it left off.

I tried that, but GPT then continues with another structure. It doesn’t continue where it stopped :confused:

NO, it does not depend on if you are paying or not. Even with a premium account it will be cut off at some point (I have a premium account and tried it with GPT-4 as well today).

What you could try is to request via Postman. If the limitation is really due to the ā€œchatā€ window, this should solve the problem. However you need to regex the response afterwards for the linebreaks, etc. If there is some need for that I could write such a code and provide it here

Here is an great example cut offs in mid sentence that ive been forced to deal with for the last week as a Plus customer. Note the short and partial response


1 Like

Essa situação acontece diariamente comigo.

1 Like

This requires a fix. Experiencing the same trouble here with Plus.

1 Like

same, just paid for plus to resolve but no luck… I feel like it isn’t character related but perhaps they killing bot after x time to free up resources… idk cant find a workaround yet…

You are a life saver! Currently working with gpt-4 in Chat GPT Plus and when giving it a big enough codeblock to work with, asking it to ā€œcontinueā€, ā€œplease continueā€ or ā€œcontinue where you left offā€ were restarting the entire code generation. It was honestly getting frustrating. This prompt has worked consistently on multiple occasions so far

1 Like

The prompt: ā€œā€
You stopped before the end, you were at: ā€œ[unfinished sentence]ā€ can you finish? ā€œā€
works for me but it’s kinda annoying to keep repeating that…

I had the same issue. Take the last words that were cut off and add continue. Worked for me
Im on normal user

chat this,
ā€œcontinue this starting from where you stopā€
(paste the last code that chatgpt did not finish)

I asked ChatGPT about the code changing from one box to the next. It replied that when regenerating that it essentially found a better way for the code to be written. This was where I asked it to continue and it did, but it repeated sections it had already given me. In those instances, it seemed like you just needed to match up the old vs new and replace as needed. What drives me nuts is when it gives me code I like, but then it completely changes it with helper functions and nothing looks the same at all. I’m still learning to program, so it’s confusing with such major changes.

1 Like

I think is not accidental. Developers of ChatGPT are in quiet. May they don’t know why the bot don’t tell the full programs for the users. It’s looks the ChatGPT do not want the developing of the mankind… I known it’s just a conteo. :slight_smile:

1 Like

I tried something and it’s working so far.
When the code was interrupted, I just put ā€œcontinue, without repeating the beginning of the code. because it is extrapolating the allowed tokensā€ and it worked. I use the Portuguese version, I don’t know if it makes any difference, but in Portuguese I say: ā€œcontinue, sem repetir o inicio do codigo. pois ele estĆ” estrapolando os tokens permitidosā€.
I hope I helps :slight_smile:

The possibility of ā€žcontinueā€œ worked today morning - now a few hours later - it’s gone. So we have now a chatbot who is totally limited to a few lines of code. You ask to continue, it will start from the beginning.

In this way I will stop my subscription as it is bringing nothing anymore. I only use it for ease my work with writing scripts or simple programming.

But even now - this possibility is gone.
A simple powershell function cannot be written or corrected anymore as it stuck after a few lines without possibility to break the code in parts.

That’s is absolutely useless @ Open AI

Why do I get the feeling that the big Windows company has full access to its programming capabilities? We will know it when in 6 months half of their stuff in India need to find another job. It’s actually very sad. There is an awesome technology and it gets limited to a complete useless device for the mass. And a few people will get access. The others can write 50 lines of code… I mean not even a powershell function can be done anymore now.

1 Like

Seems to be a new introduction. I haven’t used it I’m a week or so. Back then it was providing complete answers no issues. Now it seems to be deliberately cutting off responses. When asked to complete it it rewrites the entire code in a different way but still leaves it incomplete. As others have said this makes the usefulness of this tool next to zero. Perhaps the competitors product will be of more use.

1 Like