Skip to content

Commit d22a1f9

Browse files
Update firebase-ai/src/main/kotlin/com/google/firebase/ai/type/LiveServerMessage.kt
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 3d26add commit d22a1f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ internal object LiveServerMessageSerializer :
181181
"toolCall" in jsonObject -> LiveServerToolCall.InternalWrapper.serializer()
182182
"toolCallCancellation" in jsonObject ->
183183
LiveServerToolCallCancellation.InternalWrapper.serializer()
184-
else -> throw SerializationException("Unknown LiveServerMessage response type: $jsonObject.")
184+
else -> throw SerializationException("Unknown LiveServerMessage response type. Keys found: ${jsonObject.keys}")
185185
}
186186
}
187187
}

0 commit comments

Comments
 (0)