Baby eating

My twins are officially 7 months and they are just not interested in eating food . They just want their breastmilk. They spit the food out and even throw up sometimes. Should I wait? Mommas out there, what is some advice ?