We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
v1
v1beta
1 parent 5875e26 commit 8e3787fCopy full SHA for 8e3787f
Sources/GoogleAI/GenerativeAIRequest.swift
@@ -38,8 +38,8 @@ public struct RequestOptions {
38
/// - Parameters:
39
/// - timeout The request’s timeout interval in seconds; if not specified uses the default value
40
/// for a `URLRequest`.
41
- /// - apiVersion The API version to use in requests to the backend; defaults to "v1".
42
- public init(timeout: TimeInterval? = nil, apiVersion: String = "v1") {
+ /// - apiVersion The API version to use in requests to the backend; defaults to "v1beta".
+ public init(timeout: TimeInterval? = nil, apiVersion: String = "v1beta") {
43
self.timeout = timeout
44
self.apiVersion = apiVersion
45
}
0 commit comments