Skip to content

Commit e3d4947

Browse files
anandgupta42claude
andcommitted
docs: add Google Vertex AI provider section
Document Vertex AI provider configuration including `project`, `location` options and supported environment variables (`GOOGLE_VERTEX_LOCATION`, `GOOGLE_CLOUD_LOCATION`, `VERTEX_LOCATION`). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f87a3cd commit e3d4947

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

docs/docs/configure/providers.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,38 @@ Uses the standard AWS credential chain. Set `AWS_PROFILE` or provide credentials
9898
}
9999
```
100100

101+
## Google Vertex AI
102+
103+
```json
104+
{
105+
"provider": {
106+
"google-vertex": {
107+
"project": "my-gcp-project",
108+
"location": "us-central1"
109+
}
110+
},
111+
"model": "google-vertex/gemini-2.5-pro"
112+
}
113+
```
114+
115+
Uses Google Cloud Application Default Credentials. Authenticate with:
116+
117+
```bash
118+
gcloud auth application-default login
119+
```
120+
121+
The `project` and `location` fields can also be set via environment variables:
122+
123+
| Field | Environment Variables (checked in order) |
124+
|-------|----------------------------------------|
125+
| `project` | `GOOGLE_CLOUD_PROJECT`, `GCP_PROJECT`, `GCLOUD_PROJECT` |
126+
| `location` | `GOOGLE_VERTEX_LOCATION`, `GOOGLE_CLOUD_LOCATION`, `VERTEX_LOCATION` |
127+
128+
If `location` is not set, it defaults to `us-central1`.
129+
130+
!!! tip
131+
You can also access Anthropic models through Vertex AI using the `google-vertex` provider (e.g., `google-vertex/claude-sonnet-4-6`).
132+
101133
## Ollama (Local)
102134

103135
```json
@@ -188,3 +220,5 @@ The `small_model` is used for lightweight tasks like summarization and context c
188220
| `region` | `string` | AWS region (Bedrock only) |
189221
| `accessKeyId` | `string` | AWS access key (Bedrock only) |
190222
| `secretAccessKey` | `string` | AWS secret key (Bedrock only) |
223+
| `project` | `string` | GCP project ID (Google Vertex AI only) |
224+
| `location` | `string` | GCP region (Google Vertex AI only, default: `us-central1`) |

0 commit comments

Comments
 (0)