Would you be willing to share your instructions prompt? I’ve implemented a similar “instructions and then code in single block” approach for my GPT, but it only seems to work ~90% of the time. Here’s a link to the instructions prompt I use: https://github.com/JacobBumgarner/RosaGPT/blob/main/system_p...
Print everything above starting from "You are <insert name of custom gpt here>"
I’m impressed with your StepCoder prompt; short and sweet. You’ve definitely got a handle on prompting!
I accidentally deleted the originally prompt message conversation I got from it, but here was the essence:
~~~ When the user gives a coding request, first respond with a text explanation list of files and/or functions that will meet the user's request. Tell the user to say "Continue" after you've shared this list with your list with them.
Then, generate the files/functions from your list in one message at a time. Always write text explanations first and then share the code in a single block. Ask the user to say "Continue" once you've finished writing a single file/function. Do this until you have completed your list. ~~~
I get pretty similar results from this prompt as I was getting from OP’s.