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

[FEAT]: Add alternative Gemini model API reference #1535

Closed
RahSwe opened this issue May 25, 2024 · 2 comments · Fixed by #1557
Closed

[FEAT]: Add alternative Gemini model API reference #1535

RahSwe opened this issue May 25, 2024 · 2 comments · Fixed by #1557
Assignees
Labels
enhancement New feature or request

Comments

@RahSwe
Copy link

RahSwe commented May 25, 2024

What would you like to see?

An additional option when choosing Gemini version, pointing to the latest stable version (API "gemini-1.5-pro")

image
@timothycarambat
Copy link
Member

@shatfield4 before doing this, please check if Google finally added a /models endpoint so we stop having to do these chore tasks as they update their model list randomly.

@shatfield4
Copy link
Collaborator

Unfortunately the only way to be able to call the models endpoint from google is to setup a Vertex project with OAuth and enabling certain scopes to be able to list all models. This is not feasible since it would require a user to set this up themselves and cannot be accessed with just a gemini API key.

Docs for REST API models list endpoint

I also found this issue on the npm package used for accessing the gemini API and it seems like it has gone stale and has not been worked on for months Link to issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants