lobe-chat
lobe-chat copied to clipboard
[Request] Support Gemini through vertex AI
🥰 Feature Description
Google AI studio isn't available in all regions, making it impossible for certain places not to use gemini with lobechat. Adding a secondary implementation using vertex AI would make it possible for users using Google Cloud to add gemini anyway.
Supported regions for AI studio: https://ai.google.dev/gemini-api/docs/available-regions#available_regions
https://cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/quickstart-multimodal#gemini-beginner-samples-nodejs
🧐 Proposed Solution
Add support for Google Gemini through Vertex AI next to the existing implementation. This should ensure that users outside of the supported regions have a secondary option.
📝 Additional Information
No response
👀 @ornell
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
+1, this would be great!
We will implement soon. please follow here: https://github.com/lobehub/lobe-chat/discussions/1284#discussioncomment-8686696