Skip to content

Commit

Permalink
[Vertex AI] Add Swift major version to language tag (#12829)
Browse files Browse the repository at this point in the history
(cherry picked from commit a89224c)
  • Loading branch information
andrewheard committed Apr 22, 2024
1 parent 3783c8a commit 1a26f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FirebaseVertexAI/Sources/GenerativeAIService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import Foundation

@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
struct GenerativeAIService {
/// The language of the SDK in the format "gl-<language>/<version>" where version may be blank.
static let languageTag = "gl-swift/"
/// The language of the SDK in the format "gl-<language>/<version>".
static let languageTag = "gl-swift/5"

/// The Firebase SDK version in the format "fire/<version>".
static let firebaseVersionTag = "fire/\(FirebaseVersion())"
Expand Down

0 comments on commit 1a26f53

Please sign in to comment.