#How to make AI continue where it left off in code
29 messages · Page 1 of 1 (latest)
Just write "continue"
Doesnt work when I try it
Strange, that's what I write and it works every time
is this a single, specific conversation?
you could be losing an important piece of context from earlier in the conversation and that is why it's suddenly different
Thats what im thinking
you can try asking for the earliest message from the context
try saying continue from "{copy paste a few lines at the end here}"
this can also happen if you established a context that isn't inherently continuous
making it clearer that you want to continue from the previous response can help
That worked but its coding in a different format
Not consistent with how it was previously coding
bah its fine
Interesting. I've used it mostly for javascript and it's always continued exactly where it left off in the previous response. Maybe it behaves differently with python?
No wonder
I didnt even notice its a different language 😆
oh that's even weirder lol
Sometimes it's basically expanding a template structure it's learned before and when it gets cut off, it just has no way of recovering what that template was or how far into it it got
in those cases there is no method of forcing it to just continue but you can solve the issue preemptively by asking for a high level outline of the solution first
and then asking for pieces
maybe copy the entire response to your question and tell it to continue the code
This is a very big issue for developing anything of substance.
ChatGPT sometimes changes programming language in the middle of the conversation without being prompted to do so. It sometimes changes the agreed upon aproach significantly without notifying the user or explaining why. For me it never continues of at the right position when it stopped while writing in code blocks and when asked to redo the code block it tends to do non-sensical stuff more often than not.
If anybody found a way to prompt it so it doesn't do these things, please for the love of god enlighten me!