Skip to content

Commit 5f49b41

Browse files
committed
update comments
1 parent e15e814 commit 5f49b41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ internal constructor(
6969
requestOptions: RequestOptions = RequestOptions(),
7070
appCheckTokenProvider: InteropAppCheckTokenProvider? = null,
7171
internalAuthProvider: InternalAuthProvider? = null,
72-
generativeBackend: GenerativeBackend? = null,
72+
generativeBackend: GenerativeBackend,
7373
) : this(
7474
modelName,
7575
blockingDispatcher,

firebase-ai/src/main/kotlin/com/google/firebase/ai/common/APIController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ internal constructor(
171171
null ->
172172
"wss://firebasevertexai.googleapis.com/ws/google.firebase.vertexai.v1beta.LlmBidiService/BidiGenerateContent/locations/$location?key=$key"
173173
GenerativeBackendEnum.GOOGLE_AI ->
174-
"wss://firebasevertexai.googleapis.com//ws/google.firebase.vertexai.v1beta.GenerativeService/BidiGenerateContent?key=$key"
174+
"wss://firebasevertexai.googleapis.com/ws/google.firebase.vertexai.v1beta.GenerativeService/BidiGenerateContent?key=$key"
175175
}
176176

177177
suspend fun getWebSocketSession(location: String): ClientWebSocketSession =

0 commit comments

Comments
 (0)