Skip to content

Commit d69e8e5

Browse files
committed
docs: tweak google vertex
1 parent e5df43f commit d69e8e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/web/src/content/docs/providers.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -421,14 +421,14 @@ To use Google Vertex AI with OpenCode:
421421
You need to have a Google Cloud project with Vertex AI API enabled.
422422
:::
423423

424-
1. You'll need to set the following environment variables:
424+
1. Set the required environment variables:
425425
- `GOOGLE_VERTEX_PROJECT`: Your Google Cloud project ID
426-
- `GOOGLE_VERTEX_REGION` (optional): The region for Vertex AI (defaults to us-east5)
427-
- One of these authentication options:
426+
- `GOOGLE_VERTEX_REGION` (optional): The region for Vertex AI (defaults to `us-east5`)
427+
- Authentication (choose one):
428428
- `GOOGLE_APPLICATION_CREDENTIALS`: Path to your service account JSON key file
429-
- Or authenticate using gcloud CLI with `gcloud auth application-default login`
429+
- Authenticate using gcloud CLI: `gcloud auth application-default login`
430430

431-
Once you have these, set them while running opencode.
431+
Set them while running opencode.
432432

433433
```bash
434434
GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json GOOGLE_VERTEX_PROJECT=your-project-id opencode

0 commit comments

Comments
 (0)