You cannot enforce that it's available without copyright and a corresponding license. I thought the author meant the code produced by AI should also be available to others somehow but perhaps I've misunderstood.