Skip to content

Commit 8e3787f

Browse files
authored
Update default API version from v1 to v1beta (#137)
1 parent 5875e26 commit 8e3787f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/GoogleAI/GenerativeAIRequest.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public struct RequestOptions {
3838
/// - Parameters:
3939
/// - timeout The request’s timeout interval in seconds; if not specified uses the default value
4040
/// 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") {
41+
/// - apiVersion The API version to use in requests to the backend; defaults to "v1beta".
42+
public init(timeout: TimeInterval? = nil, apiVersion: String = "v1beta") {
4343
self.timeout = timeout
4444
self.apiVersion = apiVersion
4545
}

0 commit comments

Comments
 (0)