File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/common Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -247,11 +247,12 @@ private suspend fun validateResponse(response: HttpResponse) {
247
247
val errorMessage =
248
248
if (it.metadata?.get(" service" ) == " firebasevertexai.googleapis.com" ) {
249
249
"""
250
- The Vertex AI for Firebase SDK requires the Firebase Vertex AI API
251
- `firebasevertexai.googleapis.com` to be enabled for your project. Enable it by visiting
252
- the Firebase Console at https://console.firebase.google.com/project/${Firebase .options.projectId} /genai/vertex then
253
- retry. If you enabled this API recently, wait a few minutes for the action to propagate
254
- to our systems and retry.
250
+ The Vertex AI in Firebase SDK requires the Vertex AI in Firebase API
251
+ (`firebasevertexai.googleapis.com`) to be enabled in your Firebase project. Enable this API
252
+ by visiting the Firebase Console at
253
+ https://console.firebase.google.com/project/${Firebase .options.projectId} /genai
254
+ and clicking "Get started". If you enabled this API recently, wait a few minutes for the
255
+ action to propagate to our systems and then retry.
255
256
"""
256
257
.trimIndent()
257
258
} else {
You can’t perform that action at this time.
0 commit comments