This is basically my solution.
Students who copy all solutions from LLMs maybe learn something, but it's like 5% compared to what someone can learn by doing the assignment without external help, or even by asking their peers. It's a bit disheartening, because I invest quite some time and thought in designing the assignments.
It was very different before LLMs.