Thanks to visit codestin.com
Credit goes to github.com

Skip to content

how to set base url for Gemini model #489

@spcBackToLife

Description

@spcBackToLife

when I use this model in company, I have to give baseUrl and api key, how to use this:

Gemini(
model="gemini-1.5-flash",
api_key="xxxxxxxxx",
api_base="xxxx",
)

,or it wll say:"NotImplementedError: Live connection is not supported for gemini-1.5-flash."

Metadata

Metadata

Assignees

Labels

models[Component] Issues related to model support

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions