diff options
| author | Aiden Cline <[email protected]> | 2025-10-23 11:49:53 -0500 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-10-23 11:49:53 -0500 |
| commit | d69e8e5528b664c59ad0d5b13cf23e218aede201 (patch) | |
| tree | 1c9e9d8dc5332b780c8d68b79dd7ba46acc6332e /packages/web/src | |
| parent | e5df43f9b72fb4857df641e3e352591024764e1b (diff) | |
| download | opencode-d69e8e5528b664c59ad0d5b13cf23e218aede201.tar.gz opencode-d69e8e5528b664c59ad0d5b13cf23e218aede201.zip | |
docs: tweak google vertex
Diffstat (limited to 'packages/web/src')
| -rw-r--r-- | packages/web/src/content/docs/providers.mdx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/web/src/content/docs/providers.mdx b/packages/web/src/content/docs/providers.mdx index 496b382be..a89550396 100644 --- a/packages/web/src/content/docs/providers.mdx +++ b/packages/web/src/content/docs/providers.mdx @@ -421,14 +421,14 @@ To use Google Vertex AI with OpenCode: You need to have a Google Cloud project with Vertex AI API enabled. ::: -1. You'll need to set the following environment variables: +1. Set the required environment variables: - `GOOGLE_VERTEX_PROJECT`: Your Google Cloud project ID - - `GOOGLE_VERTEX_REGION` (optional): The region for Vertex AI (defaults to us-east5) - - One of these authentication options: + - `GOOGLE_VERTEX_REGION` (optional): The region for Vertex AI (defaults to `us-east5`) + - Authentication (choose one): - `GOOGLE_APPLICATION_CREDENTIALS`: Path to your service account JSON key file - - Or authenticate using gcloud CLI with `gcloud auth application-default login` + - Authenticate using gcloud CLI: `gcloud auth application-default login` - Once you have these, set them while running opencode. + Set them while running opencode. ```bash GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json GOOGLE_VERTEX_PROJECT=your-project-id opencode |
