Skip to content

Commit

Permalink
Update default API version from v1 to v1beta (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard authored Apr 19, 2024
1 parent 5875e26 commit 8e3787f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/GoogleAI/GenerativeAIRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public struct RequestOptions {
/// - Parameters:
/// - timeout The request’s timeout interval in seconds; if not specified uses the default value
/// for a `URLRequest`.
/// - apiVersion The API version to use in requests to the backend; defaults to "v1".
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") {
self.timeout = timeout
self.apiVersion = apiVersion
}
Expand Down

0 comments on commit 8e3787f

Please sign in to comment.