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 399c5c5 commit a1b1817Copy full SHA for a1b1817
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/LiveGenerativeModel.kt
@@ -100,10 +100,7 @@ internal constructor(
100
val receivedJson = webSession.incoming.receive().readBytes().toString(Charsets.UTF_8)
101
// TODO: Try to decode the json instead of string matching.
102
return if (receivedJson.contains("setupComplete")) {
103
- LiveSession(
104
- session = webSession,
105
- backgroundDispatcher = backgroundDispatcher
106
- )
+ LiveSession(session = webSession, backgroundDispatcher = backgroundDispatcher)
107
} else {
108
webSession.close()
109
throw GeminiConnectionHandshakeFailed()
0 commit comments