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

Available google gemini model names are hardcoded #101

Open
haesleinhuepf opened this issue Dec 21, 2023 · 0 comments
Open

Available google gemini model names are hardcoded #101

haesleinhuepf opened this issue Dec 21, 2023 · 0 comments

Comments

@haesleinhuepf
Copy link
Owner

haesleinhuepf commented Dec 21, 2023

We should update the code so that the list of available models is dynamic. I couldn't find how to do this using the Python API. The REST-API allows it already:
https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.models/list

This sections needs to be updated:

models.append("gemini-pro")
models.append("gemini-pro-vision")

@haesleinhuepf haesleinhuepf changed the title Available google gemini model names is hardcoded Available google gemini model names are hardcoded Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant