Currently, this code ability is dependant on models such as gpt4, gpt4o and llama3 etc, which are not trained to the most recent code libraries and documentation. As a result often this service will attempt to use outdated syntax.
For example when using the OpenAI libraries, which have been updated often.
To solve for this:
Add a new researcher agent that is able to scour the internet for up to date information about code and libraries