-
我在选择模式为github 后授权一直失败 |
Beta Was this translation helpful? Give feedback.
Answered by
jacob314
Jun 27, 2025
Replies: 1 comment 1 reply
-
Sorry you are experiencing this. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jacob314
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.