Skip to content

Commit fe9d201

Browse files
committed
configure voices correctly
1 parent 0427017 commit fe9d201

File tree

1 file changed

+2
-5
lines changed
  • firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public class Voices private constructor(public val ordinal: Int) {
2626

2727
@Serializable
2828
internal enum class InternalEnum {
29-
@SerialName("VOICES_UNSPECIFIED") UNSPECIFIED,
3029
CHARON,
3130
AOEDE,
3231
FENRIR,
@@ -38,8 +37,7 @@ public class Voices private constructor(public val ordinal: Int) {
3837
AOEDE -> Voices.AOEDE
3938
FENRIR -> Voices.FENRIR
4039
KORE -> Voices.KORE
41-
PUCK -> Voices.PUCK
42-
else -> Voices.UNSPECIFIED
40+
else -> Voices.PUCK
4341
}
4442
}
4543

@@ -49,8 +47,7 @@ public class Voices private constructor(public val ordinal: Int) {
4947
AOEDE -> Internal(InternalEnum.AOEDE.name)
5048
FENRIR -> Internal(InternalEnum.FENRIR.name)
5149
KORE -> Internal(InternalEnum.KORE.name)
52-
PUCK -> Internal(InternalEnum.PUCK.name)
53-
else -> Internal(InternalEnum.UNSPECIFIED.name)
50+
else -> Internal(InternalEnum.PUCK.name)
5451
}
5552
}
5653

0 commit comments

Comments
 (0)