What am I supposed to reply?

Katka

Ok, so obviously I think my kid is the best, most beautiful, smartest, etc. I recognize that doesn't mean everyone else thinks that.

But loads of people say things like, "He is so smart!" or "He speaks so well!"

What am I supposed to reply? If I say thanks I feel like I'm taking credit where it's not really due.

What do you all do? What would you do?