Hello,
I have a deployed Streamlit app that is stuck with a persistent Gemini API error. It seems to be an environment issue that I cannot resolve.
- GitHub Repo: GitHub - stonecoldshree/Advanced-CSV-Analyst
- Error:
An error occurred while communicating with the Gemini API: 404 models/gemini-pro is not found for API version v1beta...
I have already tried all of the following troubleshooting steps without success:
- Corrected the model name to
gemini-proandgemini-1.5-flash. - Simplified my
requirements.txtto only includestreamlit,google-generativeai, andpandas. - Rebooted the application multiple times.
- Completely deleted and redeployed the application to build a fresh environment.
- Generated and used a brand new Google API key.
- Confirmed the code runs locally (or confirmed it fails locally with the same error).
The error persists even on a clean deployment, which suggests a platform or account-level issue. Can someone please look into the environment for my application?
Thank you.