I think the key is now and should have always been to use a mixture of different types of formative and summative assessments. Learning to use ChatGPT should be a skill we help develop as well as many other soft skills.