Have you tried this?
You will also want to be familiar with this thread.
This is an issue unique to your project and the files Gemini is receiving.
If you can reduce your context to a point where you are below the limit, you can ask it “What files outside of my source directory are currently in your context that I can exclude with .aiexclude?”
Or, you can use this script I had Gemini help me create.