We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I want to change the default base_url(https://generativelanguage.googleapis.com/v1) to https://www.wobuaixuexi.com/. How can I do this? Thank you.
client = Gemini.new( credentials: { base_address: ENV['GEMINI_BASE_URL'], service: 'generative-language-api', api_key: ENV['GEMINI_API_KEY'] }, options: { model: 'gemini-1.5-pro', server_sent_events: true } )
The text was updated successfully, but these errors were encountered:
#27 addresses this, if you want to try my branch.
Sorry, something went wrong.
No branches or pull requests
Hello,
I want to change the default base_url(https://generativelanguage.googleapis.com/v1) to https://www.wobuaixuexi.com/. How can I do this? Thank you.
client = Gemini.new(
credentials: {
base_address: ENV['GEMINI_BASE_URL'],
service: 'generative-language-api',
api_key: ENV['GEMINI_API_KEY']
},
options: { model: 'gemini-1.5-pro', server_sent_events: true }
)
The text was updated successfully, but these errors were encountered: