If the code is not working you can just try telling it what went wrong. It doesn't have a Dev environment where it can test the code so you have to be its debugger.
i told it it was wrong about some math problem and it asked me what the correct answer was. i told it and it remembered. but more interestingly its very good at keeping context. it combined like 5 back and forths into 1 coherent sentence