As long as they provide the prompt and output combo, and the output solves the requirements of the assignment, I don’t see the difference. Half the students are probably asking the llm for prompt help also anyway.
I’d argue that making students give generic regurgitated info as an assignment is the actual issue. Make a good assignment…