I agree - it's disastrous when it goes wrong. If you ask it to generate the code for a lambda with 32 CPU's it will happily spout out nonsense rather than tell you it's not a valid think to request.
That said, ive found it remarkably good at spitting out slightly modified boilerplate - like IDE templates on steroids. It's been a great tool, like a hammer. But not everything is a nail.
I am sure the tools will only improve, but I don't understand all the hype/fear about it. ("We are fucked", "this is soo over", ... I think you will find more of those comments in older news-threads)