Then allow students who want their homework evaluated for feedback to turn it in, but no homework will be graded.
This relegates the use of AI to personal choice of learning style and any misuse of AI is only hurting the student.
I'm a teacher. Kids don't have the capacity to make this choice without guidance. There are so so many that don't (can't?) make the link between what we teach and how they grow as learners. And this is at a rich school with well-off parents who largely value education.
Rather: don't grade homework. Make the homework rather the preparation that if you did it seriously will prepare you for the test (and if you didn't do it seriously, you won't have the skills that are necessary to pass the test).
Don't grade homework. Only grade work done in school. Students who cheat on their homework are just deterring themselves and won't do as good at the in-class, graded exams.
Take away the internet. Except in a research/library scenario. Give them a limited time to complete tasks. This would promote a stronger work ethic, memory/recall and more realistic to time management skills. They need to learn to rely on themselves, not technology. The only effective way is to remove tech from the equation, otherwise the temptation to cheat to compete/complete is too strong.