docs: refresh gemini cli oauth setup refs

This commit is contained in:
Peter Steinberger
2026-04-04 15:27:33 +01:00
parent fb8e20ddb6
commit 3dda70a578
5 changed files with 22 additions and 5 deletions

View File

@@ -651,10 +651,13 @@ for usage/billing and raise limits as needed.
Steps:
1. Enable the plugin: `openclaw plugins enable google`
2. Login: `openclaw models auth login --provider google-gemini-cli --set-default`
3. Default model after login: `google-gemini-cli/gemini-3.1-pro-preview`
4. If requests fail, set `GOOGLE_CLOUD_PROJECT` or `GOOGLE_CLOUD_PROJECT_ID` on the gateway host
1. Install Gemini CLI locally so `gemini` is on `PATH`
- Homebrew: `brew install gemini-cli`
- npm: `npm install -g @google/gemini-cli`
2. Enable the plugin: `openclaw plugins enable google`
3. Login: `openclaw models auth login --provider google-gemini-cli --set-default`
4. Default model after login: `google-gemini-cli/gemini-3.1-pro-preview`
5. If requests fail, set `GOOGLE_CLOUD_PROJECT` or `GOOGLE_CLOUD_PROJECT_ID` on the gateway host
This stores OAuth tokens in auth profiles on the gateway host. Details: [Model providers](/concepts/model-providers).