I suppose I could add...
Ah... two years of flute. I see. I didn't catch that before.
If it's a school music teacher whose instrument is flute, it might be ok to continue with them, although it sounds like you don't want to and if they're not a good match, then stop lessons with them.
If it's a beginning band or middle school band teacher, and flute is NOT their primary instrument, at some point you should pass them up in skill level and should be looking at a private flute lesson teacher. You shouldn't be surprised if they recommend a flute teacher... because they can't do much more for you for flute technique. Music, yes, but flute tech, probably not if it's not their instrument. They could tell you to do a cresc, watch pitch on a note, and correct rhythms. They might not know exactly how to adjust pitch best, which fingering to use, how to get a better tone, etc. Ie, more advanced flute things.
But they still would know a lot about music. Don't discount them completely just due to flute technique.
If it's a high school band director and flute is NOT their instrument, I would wonder why they're teaching you, although it's only two years. You would be passing them up for technique again, just like the beginning band teacher. A high school band director would focus on working with a full band, an ensemble, and would spend a ton of time running the band program. (which would make me wonder how they have time to teach flute lessons.... or why.... [$$$]). I guess it's the same as the beginning teacher, but a high school band director would be less in tune with starting beginners off. If flute's not their instrument, they're not going to know it extremely well. (Band directors actually don't know the fingerings to all the instruments, and at the high school level, they can bluff and give a stern look, tell the student they should know that fingering, and point them to the fingering chart where the student can find the answer themself. Note the director doesn't actually have to answer a flute fingering question in that scenario, but can appear like they do. And everyone seems to think they do. Some know the common flute trill fingerings, but again... just tell the student to look it up or ask one of the older flute students.)
I guess in both cases, after two years, it makes sense you'd be passing up a school music teacher in terms of flute technique if flute's not their main instrument. I would be tactful with them though. Don't insult them. Maybe bring up the idea that you want to work on more difficult music and want to learn more flute specific things, but you don't know what those are. If you're starting to ask about things they really don't know a lot about and have more technique than they do, they should mention that you could go study with other teachers. And they might have a list and some recommendations for flute teachers, one's they've heard about or ones who have contacted the school.
And shop around for a good flute teachers. Probably not one at a music store. Someone at a college or uni, private studio of a professional flute player, local music teaching school. Those are good places to look.