-
Notifications
You must be signed in to change notification settings - Fork 606
m163 release #6885
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
m163 release #6885
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Vertex AI Mock Responses Check
|
Size Report 1Affected ProductsNo changes between base commit (7b1855d) and merge commit (a93226a).Test Logs |
Coverage Report 1Affected Products
Test Logs |
Auto-generated PR for cleaning up release m163 NO_RELEASE_CHANGE --------- Co-authored-by: emilypgoogle <[email protected]>
Added Java compile tests for VertexAI's bidi support. Notably b/412743328 was filed due to `LiveContentResponse.Status` being inaccessible properly for Java. In addition, minor non-bidi testing for `GenerationContent` being inaccessible was added, relating to a previous bug.
Due to a bug in the backend, it's possible that we receive an invalid `SafetyRating` value, without either category or probability. We return null in those cases to enable filtering by the higher level types.
#no-changelog
Fixes all Firebase AI builder patterns to be properly usable by Java consumers. Small breaking binary change, no breaking source change. Additionally, now that the builder pattern can be used, compile tests for the builders and other classes like `Schema` have been implemented.
The devAPI helper method should read from the `googleai/` directory instead of the `vertexai/` one. Additionally, fixed tests broken by the change.
Instead of verifying vertexAI, we should do the verification on firebase-ai only.
Originally we were not tracking bidi usage in android. This PR enables it by adding certain headers when the initial websocket connection is made. There was some refractoring done wrt to extract out the part which just adds the headers from the applyCommonConfiguration function
…ShadowLooper.runToEndOfTasks (#6927) The Robolectric Scheduler APIs are designed for LEGACY Looper mode, where tasks were controlled by Scheduler objects. LEGACY Looper mode has been deprecated for 5+ years. Migrate from Robolectric.flushForegroundThreadScheduler to ShadowLooper APIs. See cl/752917858 for reference --------- Co-authored-by: Daymon <[email protected]>
…when androidTest tests fail (#6902)
This change addresses a ``NetworkOnMainThreadException`` that was observed on Android API levels below 26. The crash happened during background transitions when disconnecting an ``HttpURLConnection`` because background callbacks on these older OS versions could run on the main thread. The fix restricts the disconnect logic to run only on API level 26 (Android 8.0) and higher.
Per [b/414829218](https://b.corp.google.com/issues/414829218), This ensures the Vertex AI SDK is properly aligned for the upcoming release. More specifically, this PR does the following: - Adds deprecation notices for all the public classes and interfaces, **besides** the root `FirebaseVertexAI` class and the relevant extension methods. - Updates the golden file version. - Adds the change from #6925 for working around invalid `SafetyRating`(s). - Adds a changelog entry that aligns with the deprecation notices. - Adds the changes from #6939 for tracking bidi usage. - Adds the changes from #6910 for aligning the bidi protos. --------- Co-authored-by: Rodrigo Lazo <[email protected]>
f277b6b
to
65c0240
Compare
Generated by 🚫 Danger |
Auto-generated PR for release m163