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

chore: update Google AI models list #6013

Merged

Conversation

raphaelchristi
Copy link
Contributor

This pull request updates the Google AI models list to reflect the current available models. It adds the new Gemini 2.0 Preview models, GEMMA models, and removes deprecated models that are no longer available in the platform.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jan 29, 2025
Copy link
Collaborator

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 31, 2025
@edwinjosechittilappilly
Copy link
Collaborator

@ogabrielluiz @raphaelchristi We need to discuss in future if we need the model list constants as we are moving the model lists to be accessed from API.
Example in Google Generative AI the list is dynamically accessed once the API KEY IS provided.

@raphaelchristi
Copy link
Contributor Author

@edwinjosechittilappilly We can do that by making a GET request to https://generativelanguage.googleapis.com/v1beta/models?key=API_KEY to dynamically fetch the model list from the API.

@edwinjosechittilappilly
Copy link
Collaborator

I believe we already have that in generative ai component.

We just need to confirm in future do we need a constant list also.

Currently we have both, since model list is available only after api key is entered.

@ogabrielluiz
Copy link
Contributor

Yeah. We can't rely fully on external systems.

@ogabrielluiz ogabrielluiz added this pull request to the merge queue Feb 5, 2025
Merged via the queue into langflow-ai:main with commit 25dfe7f Feb 5, 2025
31 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants