Skip to content
Discussion options

You must be logged in to vote

Sorry you are experiencing this.
You can remove "selectedAuthType" from ~/.gemini/settings.json. After that you will get prompted again on gemini cli startup to select an auth mechanism. Setting GEMINI_API_KEY as an environment variable should work even if the other modes don't work given your network settings. You can go to http://aistudio.google.com/ to create an API key. Free keys will still give you access to the 2.5 flash model.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ParterYan
Comment options

Answer selected by jacob314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants