-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[BUG] Gemini Pro - NO API Configuration #138
Comments
@michsiu thank you for reporting. I'll take a closer look |
can it run completely without openai api key? |
@sangeet000007 you should be able to run the |
@michsiu I added |
its working |
Thanks @joshbickett ,it works |
Found a bug? Please fill out the sections below. 👍
There should be a API configuration for Gemini Pro "apis" file
Describe the bug
On the official doc, there should be a API configuration for Gemini Pro before run Gemini, like this
But there is no this step on the self-operating-computer
After added the API configuration, it works now
Another Bug About API Configuration
As I searched on google generativeai issue on GitHUb, it notes that it would be better add
transport='rest'
on API configuration of Gemini ProSo, the correct code should be
genai.configure(api_key=YOUR_GOOGLE_API_KEY,transport='rest')
The text was updated successfully, but these errors were encountered: