Skip to content

Commit 5fe51eb

Browse files
committed
Make citation metadata uri optional
1 parent 4d6e112 commit 5fe51eb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

firebase-vertexai/firebase-vertexai.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ dependencies {
6161
implementation("com.google.firebase:firebase-components:18.0.0")
6262
implementation("com.google.firebase:firebase-annotations:16.2.0")
6363
implementation("com.google.firebase:firebase-appcheck-interop:17.1.0")
64-
implementation("com.google.ai.client.generativeai:common:0.9.0")
64+
implementation("com.google.ai.client.generativeai:common:0.10.0")
6565
implementation(libs.androidx.annotation)
6666
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1")
6767
implementation("androidx.core:core-ktx:1.12.0")

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Candidate.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class CitationMetadata
4949
internal constructor(
5050
val startIndex: Int = 0,
5151
val endIndex: Int,
52-
val uri: String,
52+
val uri: String? = null,
5353
val license: String? = null
5454
)
5555

firebase-vertexai/update_responses.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# This script replaces mock response files for Vertex AI unit tests with a fresh
1818
# clone of the shared repository of Vertex AI test data.
1919

20-
RESPONSES_VERSION='v2.*' # The major version of mock responses to use
20+
RESPONSES_VERSION='v3.*' # The major version of mock responses to use
2121
REPO_NAME="vertexai-sdk-test-data"
2222
REPO_LINK="https://github.com/FirebaseExtended/$REPO_NAME.git"
2323

0 commit comments

Comments
 (0)