Skip to content

Commit a5f6486

Browse files
daymxnncooke3
andauthored
Update FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift
Co-authored-by: Nick Cooke <[email protected]>
1 parent 3e097a9 commit a5f6486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ actor LiveSessionService {
310310
private nonisolated func createWebsocket() async throws -> AsyncWebSocket {
311311
let host = apiConfig.service.endpoint.rawValue.withoutPrefix("https://")
312312
let urlString = switch apiConfig.service {
313-
case let .vertexAI(endpoint: _, location: location):
313+
case let .vertexAI(_, location: location):
314314
"wss://\(host)/ws/google.firebase.vertexai.v1beta.LlmBidiService/BidiGenerateContent/locations/\(location)"
315315
case .googleAI:
316316
"wss://\(host)/ws/google.firebase.vertexai.v1beta.GenerativeService/BidiGenerateContent"

0 commit comments

Comments
 (0)