Who do you have in mind? In my corner of AI it's pretty uncommon for researchers to even predict "timelines". Predictions have a bad track record in the field and most researchers know it, so don't like to go on record making them. The only prominent AI researcher I know who has made a bunch of predictions with dates is Rodney Brooks [1], and he puts even dog-level general intelligence as "not earlier than 2048". I imagine folks like LeCun or Hinton are more optimistic, but as far as I'm aware they haven't wanted to make specific predictions with dates like that (and LeCun doesn't like the term "AGI", because he doesn't think "general intelligence" exists even for humans).
I don’t know that the consensus is right but the OP’s confidence of it being far off made me think they were unaware of the recent shifts (not just in consensus, but the upstream capabilities.)
You can argue they're wrong, but there is absolutely a general consensus that AGI is going to be this generation.