Gamma-ray activity of Seyfert galaxies and constraints on hot accretion flows