Skip to content

Commit

Permalink
Update GenerativeModel.swift
Browse files Browse the repository at this point in the history
public GenerativeModel init
  • Loading branch information
enefry committed May 7, 2024
1 parent 5c60098 commit db301f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/GoogleAI/GenerativeModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public final class GenerativeModel {
}

/// The designated initializer for this class.
init(name: String,
public init(name: String,
apiKey: String,
generationConfig: GenerationConfig? = nil,
safetySettings: [SafetySetting]? = nil,
Expand Down

0 comments on commit db301f5

Please sign in to comment.