Run the code it writes, if it gives an error, paste it into the chat and 90% of the time the LLM can fix the issue. People are missing the point here - it's not about writing code in one-shot. An LLM-enabled loop can generate the code and test and refine it until it works
[1] https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/issue...