File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
packages/vertexai/src/requests Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @firebase/vertexai ' : patch
3+ ---
4+
5+ Remove indentation in VertexAI API Not Enabled error
Original file line number Diff line number Diff line change @@ -166,13 +166,13 @@ export async function makeRequest(
166166 ) {
167167 throw new VertexAIError (
168168 VertexAIErrorCode . API_NOT_ENABLED ,
169- `The Vertex AI in Firebase SDK requires the Vertex AI in Firebase
170- API ('firebasevertexai.googleapis.com') to be enabled in your
171- Firebase project. Enable this API by visiting the Firebase Console
172- at https://console.firebase.google.com/project/${ url . apiSettings . project } /genai/
173- and clicking "Get started". If you enabled this API recently,
174- wait a few minutes for the action to propagate to our systems and
175- then retry.` ,
169+ `The Vertex AI in Firebase SDK requires the Vertex AI in Firebase ` +
170+ ` API ('firebasevertexai.googleapis.com') to be enabled in your ` +
171+ ` Firebase project. Enable this API by visiting the Firebase Console ` +
172+ ` at https://console.firebase.google.com/project/${ url . apiSettings . project } /genai/ ` +
173+ ` and clicking "Get started". If you enabled this API recently, ` +
174+ ` wait a few minutes for the action to propagate to our systems and ` +
175+ ` then retry.`,
176176 {
177177 status : response . status ,
178178 statusText : response . statusText ,
You can’t perform that action at this time.
0 commit comments