When I hit a problem like that, I do most myself and just get the AI to do the bits where I'd normally get stuck because of boredom. Bits that I can't be bothered to write as they're easy but laborious.
And then get it to review the code, where it'll pickup a few edge cases.
But I don't really get the attitude that we shouldn't write code anymore, for me it's often quicker to write the code than to explain to the AI how to write it.
Sometimes when I'm.sitting there watching it chug away for 5 minutes over what should be a three line change, I'll just stop it and do it myself, and then at that point I'll often take over completely for a while.