Are you delegating to AI, or handing it the decision?
before you delegate it, can you say what you'd do differently if the AI disagreed with you? If you can answer that, you're still the author, the same way you're still the author of a contract your lawyer negotiated on your behalf.