Skip to content

Commit

Permalink
Update CountTokensResponse in generativeai
Browse files Browse the repository at this point in the history
  • Loading branch information
rlazo committed Apr 3, 2024
1 parent 4ce36fb commit 593d177
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ package com.google.ai.client.generativeai.type
*
* @property totalTokens A count of the number of tokens in the input
*/
class CountTokensResponse(val totalTokens: Int) {
class CountTokensResponse(val totalTokens: Int?) {
operator fun component1() = totalTokens
}

0 comments on commit 593d177

Please sign in to comment.