-
Notifications
You must be signed in to change notification settings - Fork 625
Merge GenAI Common into Vertex #6186
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
Conversation
Javadoc Changes:--- /home/runner/diff/original/firebase-kotlindoc/android/client/firebase-vertexai/_toc.yaml 2024-08-21 20:40:30.408180266 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/client/firebase-vertexai/_toc.yaml 2024-08-21 20:38:01.263950648 +0000
@@ -15,6 +15,9 @@
- title: "GenerativeModel"
path: "/docs/reference/android/com/google/firebase/vertexai/GenerativeModel.html"
+- title: "com.google.firebase.vertexai.common.shared"
+ path: "/docs/reference/android/com/google/firebase/vertexai/common/shared/package-summary.html"
+
- title: "com.google.firebase.vertexai.java"
path: "/docs/reference/android/com/google/firebase/vertexai/java/package-summary.html"
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/common/shared/package-summary.html 1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/common/shared/package-summary.html 2024-08-21 20:38:01.255950635 +0000
@@ -0,0 +1,11 @@
+<html devsite="true">
+ <head>
+ <title>com.google.firebase.vertexai.common.shared</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+ </head>
+ <body>
+ <h1>com.google.firebase.vertexai.common.shared</h1>
+ </body>
+</html>
+ --- /home/runner/diff/original/firebase-kotlindoc/kotlin/client/firebase-vertexai/_toc.yaml 2024-08-21 20:40:30.400180254 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/client/firebase-vertexai/_toc.yaml 2024-08-21 20:38:01.255950635 +0000
@@ -13,6 +13,9 @@
- title: "GenerativeModel"
path: "/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html"
+- title: "com.google.firebase.vertexai.common.shared"
+ path: "/docs/reference/kotlin/com/google/firebase/vertexai/common/shared/package-summary.html"
+
- title: "com.google.firebase.vertexai.java"
path: "/docs/reference/kotlin/com/google/firebase/vertexai/java/package-summary.html"
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/common/shared/package-summary.html 1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/common/shared/package-summary.html 2024-08-21 20:38:01.247950622 +0000
@@ -0,0 +1,26 @@
+<html devsite="true">
+ <head>
+ <title>com.google.firebase.vertexai.common.shared</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+ </head>
+ <body>
+ <h1>com.google.firebase.vertexai.common.shared</h1>
+ <h2>Type aliases</h2>
+ <div class="devsite-table-wrapper">
+ <table class="responsive">
+ <colgroup>
+ <col width="40%">
+ <col>
+ </colgroup>
+ <tbody class="list">
+ <tr>
+ <td><code>Base64</code></td>
+ <td></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </body>
+</html>
+ |
The public api surface has changed for the subproject firebase-vertexai_api.txt: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
Unit Test Results 968 files + 964 968 suites +964 35m 41s ⏱️ + 35m 38s For more details on these failures, see this check. Results for commit c16d020. ± Comparison against base commit 5fe51eb. ♻️ This comment has been updated with latest results. |
Size Report 1Affected Products
Test Logs |
Coverage Report 1Affected Products
Test Logs |
The public api surface has changed for the subproject firebase-vertexai_api.txt: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from a source code perspective.
Assuming the tests and everything pass, we're good.
We'll probably do a follow up to clean things up, and remove old artifacts. Left some comments to get some clarification on that.
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/common/Exceptions.kt
Outdated
Show resolved
Hide resolved
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/common/Exceptions.kt
Show resolved
Hide resolved
The public api surface has changed for the subproject firebase-vertexai_api.txt: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
A previous change, #6186, added the Kotlin serialization plugin to every single Gradle module; however, only one module actually used it. Moreover, it is becoming more conventional to define dependency versions in `gradle/libs.versions.toml`. This PR removes the global dependency on the Kotlin serialization plugin and, instead, moves the version into `gradle/libs.versions.toml`, and also modifies the dependency on the Kotlin JSON serialization library to use `gradle/libs.versions.toml`. This will make sure that every module uses the same version, which will become important once Data Connect, which also uses these libraries, is merged into main.
No description provided.