Skip to content

How to modify the base_address? #25

@gith-u-b

Description

@gith-u-b

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 }
)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions