Skip to content

Commit a1b1817

Browse files
committed
format fix
1 parent 399c5c5 commit a1b1817

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/LiveGenerativeModel.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,7 @@ internal constructor(
100100
val receivedJson = webSession.incoming.receive().readBytes().toString(Charsets.UTF_8)
101101
// TODO: Try to decode the json instead of string matching.
102102
return if (receivedJson.contains("setupComplete")) {
103-
LiveSession(
104-
session = webSession,
105-
backgroundDispatcher = backgroundDispatcher
106-
)
103+
LiveSession(session = webSession, backgroundDispatcher = backgroundDispatcher)
107104
} else {
108105
webSession.close()
109106
throw GeminiConnectionHandshakeFailed()

0 commit comments

Comments
 (0)