Giving them an LLM to help with syntax errors, at this stage of the tech, is deeply unhelpful to their development.
The foundation of a computer science education is a rigorous understanding of what the steps of an algorithm mean. If the students don't develop that, then I don't think they're doing computer science anymore.