Will a day come when AI knows how to do what it is told?
Not happy about it either.
Larger and more sophisticated models will do the party trick more convincingly... but actually following instructions will require a different approach.
It's true that it often inserts placeholders.
You can try using the functions feature (via the API) and/or fine-tuning .
If it's relatively simple code then you could also look into Codellama or WizardCoder which you may also fine-tune.
To be fair, the instruction following capabilities of GPT-4 are absolutely incredible relative to what was available a few years ago.
Don't worry, it will only be a few more years before AI is able to completely replace you. Then you will be wishing you could go back to the time when you had to write an extra prompt to fill in the TODOs.