Skip to content

Commit

Permalink
Make the URLSession can be passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
libratiger committed Jun 26, 2024
1 parent 5478400 commit 459a70e
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 @@ -118,7 +118,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 459a70e

Please sign in to comment.