Presumably it would need to be trained with good examples of solutions to complex problems. Maybe there just won't be that many for the foreseeable future.
Thats pretty much what has happened over the last 30 years. You need less skills to produce more and more. Google search started it all, i remmeber back then I quipped the Offshored devs wouldnt be able to get a job without an internet connection because previously us engineers prided ourselves on understand and memorising APIs. The Ai programmer will outpace India's cert mills in quick succession but it wont benifit anyone except the Large Corperations who own the Ai. Atleast the Google devs added questions to SO, the AI dev is leecher who only profits, plagerises, never contributes.