Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add the Google Gemini interface: API URL or BASE URL. #7200

Closed
5 tasks done
808cn163 opened this issue Aug 12, 2024 · 3 comments
Closed
5 tasks done

Please add the Google Gemini interface: API URL or BASE URL. #7200

808cn163 opened this issue Aug 12, 2024 · 3 comments

Comments

@808cn163
Copy link

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Please add the following to the Google Gemini interface: API URL or BASE URL. For example, replace:
https://generativelanguage.googleapis.com/v1beta/
with:
https://api.test.com/v1beta/
This allows users to replace it with their own custom URL, making it easier for them to access the service in regions where access is inconvenient.

2. Additional context or comments

thank you!

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
@dosubot dosubot bot added the 💪 enhancement New feature or request label Aug 12, 2024
@ZuzooVn
Copy link
Contributor

ZuzooVn commented Aug 13, 2024

@baiyi-os
Copy link

Excuse me, has it been resolved so far? I haven't seen any support for custom base URLs in the code

@Keith-Hon
Copy link

Keith-Hon commented Jan 11, 2025

There is a config for the base url

google-gemini/generative-ai-python#188

@crazywoola

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants