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
Copy file name to clipboardExpand all lines: docs/providers/vertex.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ Roo Code supports accessing models through Google Cloud Platform's Vertex AI, a
16
16
***Application Default Credentials (ADC):** Roo Code uses Application Default Credentials to authenticate with Vertex AI. The easiest way to set this up is to:
17
17
1. Install the Google Cloud CLI: [https://cloud.google.com/sdk/docs/install](https://cloud.google.com/sdk/docs/install)
***Service Account Key (Alternative):** Alternatively, you can authenticate using a Google Cloud Service Account key file. You'll need to generate this key in your GCP project. See the [Google Cloud documentation on creating service account keys](https://cloud.google.com/iam/docs/creating-managing-service-account-keys).
19
20
20
21
## Supported Models
21
22
@@ -44,10 +45,14 @@ Refer to the [Google Cloud documentation on Vertex AI Models](https://cloud.goog
44
45
45
46
1.**Open Roo Code Settings:** Click the gear icon (<Codiconname="gear" />) in the Roo Code panel.
46
47
2.**Select Provider:** Choose "GCP Vertex AI" from the "API Provider" dropdown.
47
-
3.**Enter Project ID:** Enter your Google Cloud Project ID.
48
-
4.**Select Region:** Choose the region where your Vertex AI resources are located (e.g., `us-east5`).
49
-
5.**Select Model:** Choose your desired model from the "Model" dropdown.
50
-
48
+
3.**Configure Authentication:**
49
+
***If using Application Default Credentials (ADC):** No further action is needed here. ADC will be used automatically if configured correctly (see Prerequisites).
50
+
***If *not* using ADC (Service Account Key):**
51
+
***Option A: Paste JSON Content:** Paste the entire content of your Service Account JSON key file into the **Google Cloud Credentials** field.
52
+
***Option B: Provide File Path:** Enter the absolute path to your downloaded Service Account JSON key file in the **Google Cloud Key File Path** field.
53
+
4.**Enter Project ID:** Enter your Google Cloud Project ID.
54
+
5.**Select Region:** Choose the region where your Vertex AI resources are located (e.g., `us-east5`).
55
+
6.**Select Model:** Choose your desired model from the "Model" dropdown.
51
56
## Tips and Notes
52
57
53
58
***Permissions:** Ensure your Google Cloud account has the necessary permissions to access Vertex AI and the specific models you want to use.
0 commit comments