The correct term is sycophancy, not flattery. The problem is: > "the AI tends to align with user opinions, sometimes even supporting incorrect statements to maintain agreement". This is termed as sycophantic behaviour. Flattery is not the correct synonym.
It’s probably not an ideal word for an article title because - based purely on my own anecdotal evidence and conjecture - it’s one of those words that a lot people aren’t familiar with.