File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
FirebaseAI/Tests/TestApp/Tests/Integration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ final class IntegrationTests: XCTestCase {
49
49
50
50
override func setUp( ) async throws {
51
51
userID1 = try await TestHelpers . getUserID ( )
52
- vertex = FirebaseAI . vertexAI ( )
52
+ vertex = FirebaseAI . firebaseAI ( backend : . vertexAI( ) )
53
53
model = vertex. generativeModel (
54
54
modelName: " gemini-2.0-flash " ,
55
55
generationConfig: generationConfig,
@@ -200,7 +200,7 @@ final class IntegrationTests: XCTestCase {
200
200
201
201
func testCountTokens_appCheckNotConfigured_shouldFail( ) async throws {
202
202
let app = try XCTUnwrap ( FirebaseApp . app ( name: FirebaseAppNames . appCheckNotConfigured) )
203
- let vertex = FirebaseAI . vertexAI ( app: app)
203
+ let vertex = FirebaseAI . firebaseAI ( app: app, backend : . vertexAI ( ) )
204
204
let model = vertex. generativeModel ( modelName: " gemini-2.0-flash " )
205
205
let prompt = " Why is the sky blue? "
206
206
You can’t perform that action at this time.
0 commit comments