-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error message for invalid locations #6428
Conversation
If an invalid location is used when creating the `FirebaseVertexAI` object, all requests will fail. The error returned is 404 and HTML content. The message as-is is not easy to read. The new messaging points to the most likely reason for the 404 (invalid location).
Release note changesThe following release notes were modified. Please ensure they look correct. Release Notesfirebase-vertexai### {{firebase_vertexai}} version 16.0.2 {: #vertex-ai_v16-0-2}
* {{fixed}} Improved error message when using an invalid location. GitHub [#6428](//github.com/firebase/firebase-android-sdk/issues/6428){: .external}
* {{fixed}} Fixed issue where Firebase App Check error tokens were unintentionally missing from the requests. GitHub [#6409](//github.com/firebase/firebase-android-sdk/issues/6409){: .external}
* {{fixed}} Clarified in the documentation that `Schema.integer` and `Schema.float` only provide hints to the model. GitHub [#6420](//github.com/firebase/firebase-android-sdk/issues/6420){: .external}
|
Vertex AI Mock Responses Check
|
Test Results 20 files - 1 002 20 suites - 1 002 14s ⏱️ - 35m 48s Results for commit 9a1c9b1. ± Comparison against base commit 442bab2. This pull request removes 5698 and adds 2 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
cc @andrewheard |
If an invalid location is used when creating the
FirebaseVertexAI
object, all requests will fail. The error returned is 404 and HTML
content. The message as-is is not easy to read.
The new messaging points to the most likely reason for the
404 (invalid location).