I loved this talk at by @ReuvenReuven M. Lerner about when students should and should not use LLMs when learning to program.
Lots of practical tips: https://speakerdeck.com/reuven/edu-summit-2025-dot-key
If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/pamelafox/statuses/114519949536440382 on your instance and quote it. (Note that quoting is not supported in Mastodon.)