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

Testing (and therefore using) Google's Gemini model with a valid Gemini API key is not working in versions later than autogen==0.5.0 #4831

Open
toygark opened this issue Dec 27, 2024 · 0 comments

Comments

@toygark
Copy link

toygark commented Dec 27, 2024

What happened?

Testing (and therefore using) Google's Gemini model with a valid Gemini API key is not working in versions later than autogen==0.5.0.

The process fails with the following error message: 'Error occurred while testing model: Please install google-generativeai and 'vertexai' to use Google's API.'.

In versions before (and including) autogen==0.5.0, testing (and therefore using) Google's Gemini model with a valid Gemini API key works fine.

Image

What did you expect to happen?

Testing (and therefore using) Google's Gemini model with a valid Gemini API key should work fine in versions later than autogen==0.5.0, including the latest 0.6.0 -- which is not the case right now.

Image

How can we reproduce it (as minimally and precisely as possible)?

Just enter a valid Gemini API key in Google's Gemini model and press the 'Test Model' button.

AutoGen version

0.5.1 upto latest

Which package was this bug in

Core

Model used

gemini-1.5-pro-latest

Python version

No response

Operating system

No response

Any additional info you think would be helpful for fixing this bug

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant