Skip to content

Commit cae05b2

Browse files
committed
remove @EncodeDefault
1 parent 84e067e commit cae05b2

File tree

1 file changed

+1
-1
lines changed
  • firebase-ai/src/main/kotlin/com/google/firebase/ai/type

1 file changed

+1
-1
lines changed

firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Content.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ constructor(public val role: String? = "user", public val parts: List<Part>) {
9090
@Serializable
9191
internal data class Internal(
9292
@EncodeDefault val role: String? = "user",
93-
@EncodeDefault val parts: List<InternalPart> = emptyList()
93+
val parts: List<InternalPart> = emptyList()
9494
) {
9595
internal fun toPublic(): Content {
9696
val returnedParts =

0 commit comments

Comments
 (0)