Check out alternatives like ChatWithGPT[0] or just the OpenAI chat playground[1], especially if you've gotten access to the GPT4 API. Populating the system message really makes a difference and you can enforce a lot of style of both code and output. The third party UIs also have a lot more bells and whistles.
[0] https://github.com/cogentapps/chat-with-gpt
[1] https://platform.openai.com/playground?mode=chat