In my experience, ChatGPT apologises when you correct it about technical things, then repeats all the same mistakes and/or throws in new ones. Give it two or three years, though, and this will get a great deal better.