For homework: if you make homework results not count towards the final grade, then there's no reason to use an LLM - the point then just becomes to have practice problems and feedback on how well you are doing.
This is what my university (EPFL) was doing ~40 years ago. And yes, some students didn't bother with the homework, and mostly paid the price at the final exam...