There are lots of valid definitions of "AGI" (and of "sentience" for that matter). One that Sam Altman has used in the past is, paraphrasing, a system that can complete many tasks as well as the median human. IMO that's a reasonable definition of AGI, and I don't think it's hard to imagine a system that meets that definition but that isn't sentient in any meaningful sense.