If your guy friend has girlfriend and telling you that you 're brilliant and beautiful and he knows that you have boyfriend too !But what would you say to him ?
Yeah, "Thanks" is pretty much all you need to say. Unless he's obviously flirting with you, take it as a compliment from a friend.
Even if he is obviously flirting with you, if you're not interested just pretend to take it as an innocent compliment.