Skip to content

Commit

Permalink
Set the right apiClient value (#5830)
Browse files Browse the repository at this point in the history
Additionally:
- Right version for the SDK
- Address google-gemini/generative-ai-android#104
  • Loading branch information
rlazo authored Apr 4, 2024
1 parent 9952ab4 commit 897a1a1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion firebase-vertexai/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.

version=16.0.0
version=16.0.0-alpha01
latestReleasedVersion=0.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ internal constructor(
safetySettings,
requestOptions,
tools,
APIController(apiKey, modelName, requestOptions.toInternal())
APIController(
apiKey,
modelName,
requestOptions.toInternal(),
"gl-kotlin/ fire/${BuildConfig.VERSION_NAME}"
)
)

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ package com.google.firebase.vertexai.type
*/
class UsageMetadata(
val promptTokenCount: Int,
val candidatesTokenCount: Int,
val candidatesTokenCount: Int?,
val totalTokenCount: Int
)

0 comments on commit 897a1a1

Please sign in to comment.