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

Support google models in generation #246

Merged
merged 3 commits into from
Nov 10, 2024

Conversation

parzival418
Copy link
Collaborator

Relates to:

No issue for ticket for this yet.

Risks

Low risk.

Background

What does this PR do?

This PR adds support for the Google models, which are represented in the types but not implemented in the generation file. Adds env ket to example env file and main readme env example.

What kind of change is this?

Features (non-breaking change which adds functionality)

Why are we doing this? Any context or related work?

Just need Google models to work.

Testing

Where should a reviewer start?

Switch the character to use ModelProviderName.GOOGLE and ensure you have the API key for Gemini in your env:

GOOGLE_GENERATIVE_AI_API_KEY= # Gemini API key

Things should continue to run.

@parzival418 parzival418 marked this pull request as ready for review November 9, 2024 21:48
@lalalune lalalune merged commit 9a04908 into elizaOS:main Nov 10, 2024
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

Successfully merging this pull request may close these issues.

2 participants