Skip to content

Commit 051bbf3

Browse files
author
David Motsonashvili
committed
missing toInternal
1 parent b20335c commit 051bbf3

File tree

1 file changed

+1
-1
lines changed
  • firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/internal/util

1 file changed

+1
-1
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/internal/util/conversions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ internal fun GenerationConfig.toInternal() =
115115
maxOutputTokens = maxOutputTokens,
116116
stopSequences = stopSequences,
117117
responseMimeType = responseMimeType,
118-
responseSchema = responseSchema
118+
responseSchema = responseSchema?.toInternal()
119119
)
120120

121121
internal fun com.google.firebase.vertexai.type.HarmCategory.toInternal() =

0 commit comments

Comments
 (0)