Open jaybconsulting opened 3 months ago
Figured it out. Was the same issue as issue 380, here: https://github.com/GoogleCloudPlatform/firebase-extensions/issues/380
Note that the documentation here https://cloud.google.com/vertex-ai/generative-ai/docs/learn/locations says us-west2 is available for Vertex AI, but clearly that's not the case. As outlined in issue 380 as well, the drop down menu when setting up the extension still has us-west2. This should be removed until it's supported.
Keeping it open so the documentation and the dropdown in the extension setup screen can be fixed.
Describe your configuration
Describe the problem
When I added a new document to the users/{uid}/{realmId} collection in my Firestore database, a "status" map was added to my document with an "error" key of "An error occurred while processing the provided message, failed to generate content, see function logs for details".
The Cloud Function logs show the following message:
Here's the error for better readability:
Steps to reproduce:
Added the extension to my project, filled out the configuration, then added a document to the appropriate collection (users/{uid}/{realmId}
Expected result
Adding a "output" map to my document with a response from the Gemini API.
Actual result
Added a "status" map to my document with the error message described above.