Skip to content

Commit 4774502

Browse files
committed
Fix left overs from config struct
1 parent 4e10e12 commit 4774502

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

FirebaseAI/Sources/GenerativeModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public final class GenerativeModel: Sendable {
8989
systemInstruction: ModelContent? = nil,
9090
requestOptions: RequestOptions,
9191
urlSession: URLSession = GenAIURLSession.default,
92-
useLimitedUseAppCheckTokens: Bool) {
92+
useLimitedUseAppCheckTokens: Bool = false) {
9393
self.modelName = modelName
9494
self.modelResourceName = modelResourceName
9595
self.apiConfig = apiConfig

FirebaseAI/Sources/Types/Public/Imagen/ImagenModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public final class ImagenModel {
5454
safetySettings: ImagenSafetySettings?,
5555
requestOptions: RequestOptions,
5656
urlSession: URLSession = GenAIURLSession.default,
57-
useLimitedUseAppCheckTokens: Bool) {
57+
useLimitedUseAppCheckTokens: Bool = false) {
5858
self.modelResourceName = modelResourceName
5959
self.apiConfig = apiConfig
6060
generativeAIService = GenerativeAIService(

FirebaseAI/Tests/Unit/VertexComponentTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class VertexComponentTests: XCTestCase {
184184
app: app1,
185185
location: "transitory location",
186186
apiConfig: FirebaseAI.defaultVertexAIAPIConfig,
187-
aiConfig: .config()
187+
useLimitedUseAppCheckTokens: false
188188
)
189189
weakVertex = vertex
190190
XCTAssertNotNil(weakVertex)

0 commit comments

Comments
 (0)