We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e7a4e8 commit 22da043Copy full SHA for 22da043
firebase-ai/src/main/kotlin/com/google/firebase/ai/type/LiveSession.kt
@@ -155,9 +155,9 @@ internal constructor(
155
response
156
.getOrNull()
157
?.let {
158
- val output = it.readBytes().toString(Charsets.UTF_8)
159
- println(output)
160
- JSON.decodeFromString<InternalLiveServerMessage>(output)
+ JSON.decodeFromString<InternalLiveServerMessage>(
+ it.readBytes().toString(Charsets.UTF_8)
+ )
161
}
162
?.let { emit(it.toPublic()) }
163
yield()
@@ -211,7 +211,6 @@ internal constructor(
211
BidiGenerateContentToolResponseSetup(functionList.map { it.toInternalFunctionCall() })
212
.toInternal()
213
)
214
- println(jsonString)
215
session.send(Frame.Text(jsonString))
216
217
0 commit comments