File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
FirebaseAI/Sources/Types/Internal/Live Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -311,9 +311,9 @@ actor LiveSessionService {
311
311
let host = apiConfig. service. endpoint. rawValue. withoutPrefix ( " https:// " )
312
312
let urlString = switch apiConfig. service {
313
313
case let . vertexAI( _, location: location) :
314
- " wss:// \( host) /ws/google.firebase.vertexai.v1beta .LlmBidiService/BidiGenerateContent/locations/ \( location) "
314
+ " wss:// \( host) /ws/google.firebase.vertexai. \( apiConfig . version . rawValue ) .LlmBidiService/BidiGenerateContent/locations/ \( location) "
315
315
case . googleAI:
316
- " wss:// \( host) /ws/google.firebase.vertexai.v1beta .GenerativeService/BidiGenerateContent "
316
+ " wss:// \( host) /ws/google.firebase.vertexai. \( apiConfig . version . rawValue ) .GenerativeService/BidiGenerateContent "
317
317
}
318
318
guard let url = URL ( string: urlString) else {
319
319
throw NSError (
You can’t perform that action at this time.
0 commit comments