Skip to content

Commit 22da043

Browse files
committed
fix typo
1 parent 0e7a4e8 commit 22da043

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ internal constructor(
155155
response
156156
.getOrNull()
157157
?.let {
158-
val output = it.readBytes().toString(Charsets.UTF_8)
159-
println(output)
160-
JSON.decodeFromString<InternalLiveServerMessage>(output)
158+
JSON.decodeFromString<InternalLiveServerMessage>(
159+
it.readBytes().toString(Charsets.UTF_8)
160+
)
161161
}
162162
?.let { emit(it.toPublic()) }
163163
yield()
@@ -211,7 +211,6 @@ internal constructor(
211211
BidiGenerateContentToolResponseSetup(functionList.map { it.toInternalFunctionCall() })
212212
.toInternal()
213213
)
214-
println(jsonString)
215214
session.send(Frame.Text(jsonString))
216215
}
217216
}

0 commit comments

Comments
 (0)