Describe the bug
Adding a custom endpoint (Azure) breaks the Google Gemini model endpoint.
I have added a GOOGLE_API_KEY to my Vercel deployment. After deployment, the gemini-pro chat works as expected.
If I then add a custom endpoint via the GUI by going to settings, setting up Azure Endpoint, API key, API version and giving the model endpoint a custom name, this new model endpoints work. But now the gemini-pro does not work, and returns "Empty response" after a while. I have attempted to relaunch Vercel app, clear cookies etc., the problem repeats.
To Reproduce
Steps to reproduce the behavior:
Set GOOGLE_API_KEY in vercel environment, deploy app
Check that gemini-pro works in chat UI
Go to settings, set up custom endpoint (Azure in this case)
Try to chat to gemini-pro in chat UI again, it now fails.
Expected behavior
Adding a custom Azure endpoint should not affect the gemini-pro model
Screenshots
Deployment
[ ] Docker
[ X ] Vercel
[ ] Server
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [Chrome]
Version [Forked and deployed on latest version per 13/2/2024]
Additional Logs
Add any logs about the problem here.
Describe the bug Adding a custom endpoint (Azure) breaks the Google Gemini model endpoint.
I have added a GOOGLE_API_KEY to my Vercel deployment. After deployment, the gemini-pro chat works as expected.
If I then add a custom endpoint via the GUI by going to settings, setting up Azure Endpoint, API key, API version and giving the model endpoint a custom name, this new model endpoints work. But now the gemini-pro does not work, and returns "Empty response" after a while. I have attempted to relaunch Vercel app, clear cookies etc., the problem repeats.
To Reproduce Steps to reproduce the behavior:
Expected behavior Adding a custom Azure endpoint should not affect the gemini-pro model
Screenshots
Deployment
Desktop (please complete the following information):
Additional Logs Add any logs about the problem here.