You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Interactive Terminal: find Login method: Select Claude Pro/Max
209
209
# Guide user through OAuth flow in browser
210
210
# Wait for completion
211
211
# Verify success and confirm with user
212
212
```
213
213
214
-
#### 4.2 Google Gemini (Antigravity OAuth)
215
-
216
-
First, enable Google auth in `~/.config/opencode/oh-my-opencode.json`:
217
-
218
-
```json
219
-
{
220
-
"google_auth": true
221
-
}
222
-
```
214
+
#### Google Gemini (Antigravity OAuth)
223
215
224
216
Then authenticate:
225
217
226
218
```bash
227
219
opencode auth login
228
-
# Provider: Select Google
229
-
# Login method: Select OAuth with Google (Antigravity)
230
-
# Guide user through OAuth flow in browser
220
+
#Interactive Terminal: find Provider: Select Google
221
+
#Interactive Terminal: find Login method: Select Google
222
+
# Guide user through OAuth flow in browser. You use tools like pbcopy or other equivalents depending on your OS, and tell user that you have copied the link and paste it to the browser
231
223
# Wait for completion
232
224
# Verify success and confirm with user
233
225
```
234
226
235
-
#### 4.3 OpenAI (ChatGPT Plus/Pro)
227
+
#### OpenAI (ChatGPT Plus/Pro)
236
228
237
229
First, add the opencode-openai-codex-auth plugin:
238
230
@@ -257,27 +249,37 @@ First, add the opencode-openai-codex-auth plugin:
257
249
258
250
Then run `cd ~/.config/opencode && bun i`. In `opencode.json`, use `"opencode-openai-codex-auth"` without the version suffix.
259
251
260
-
####4.3.1 Model Configuration
252
+
#####Model Configuration
261
253
You'll also need full model settings in `opencode.json`.
262
254
Read the [opencode-openai-codex-auth documentation](https://github.com/numman-ali/opencode-openai-codex-auth), copy provider/models config from [`config/full-opencode.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/full-opencode.json), and merge carefully to avoid breaking the user's existing setup.
0 commit comments