Skip to content

Commit 4a98d61

Browse files
authored
Merge 211c079 into 0ebb4ab
2 parents 0ebb4ab + 211c079 commit 4a98d61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
@@ -161,7 +161,7 @@ internal constructor(
161161
}
162162

163163
private fun getBidiEndpoint(location: String): String =
164-
"wss://firebasevertexai.googleapis.com/ws/google.firebase.vertexai.v1beta.LlmBidiService/BidiGenerateContent/locations/$location?key=$key"
164+
"wss://firebasevertexai.googleapis.com//ws/google.firebase.vertexai.v1beta.GenerativeService/BidiGenerateContent?key=$key"
165165

166166
suspend fun getWebSocketSession(location: String): ClientWebSocketSession =
167167
client.webSocketSession(getBidiEndpoint(location)) { applyCommonHeaders() }

0 commit comments

Comments
 (0)