File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
firebase-ai/src/main/kotlin/com/google/firebase/ai/common Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -167,12 +167,11 @@ internal constructor(
167167
168168 private fun getBidiEndpoint (location : String ): String =
169169 when (backend?.backend) {
170- GenerativeBackendEnum .VERTEX_AI ->
170+ GenerativeBackendEnum .VERTEX_AI ,
171+ null ->
171172 " wss://firebasevertexai.googleapis.com/ws/google.firebase.vertexai.v1beta.LlmBidiService/BidiGenerateContent/locations/$location ?key=$key "
172173 GenerativeBackendEnum .GOOGLE_AI ->
173174 " wss://firebasevertexai.googleapis.com//ws/google.firebase.vertexai.v1beta.GenerativeService/BidiGenerateContent?key=$key "
174- null ->
175- " wss://firebasevertexai.googleapis.com/ws/google.firebase.vertexai.v1beta.LlmBidiService/BidiGenerateContent/locations/$location ?key=$key "
176175 }
177176
178177 suspend fun getWebSocketSession (location : String ): ClientWebSocketSession =
You can’t perform that action at this time.
0 commit comments