Honestly, I just ask if they can solve FizzBuzz. It shows me how they approach problems, how they communicate their process, and that they know basic programming concepts. The rest of the interview just kinda tells me if I’d get along with them as a person. Most other things, good and bad, only show up over time.
Then again, I work with software that isn’t exceptionally complex.
AI is a tool, Ashish is 100% correct in that it may do some things for developers but ultimately still needs to be reviewed by people who know what they’re doing. This is closer to the change from punch cards to writing code directly on a computer than making software developers obsolete.