Skip to content

Commit eb09cfe

Browse files
committed
review
1 parent 2a0e1d3 commit eb09cfe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

FirebaseAI/Sources/GenerateContentResponse.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ public struct GenerateContentResponse: Sendable {
2626
/// The total number of tokens across the generated response candidates.
2727
public let candidatesTokenCount: Int
2828

29-
/// The number of tokens in the results from tool executions, which are provided back to the
30-
/// model as input.
29+
/// The number of tokens used by tools.
3130
public let toolUsePromptTokenCount: Int
3231

3332
/// The number of tokens used by the model's internal "thinking" process.
@@ -49,7 +48,8 @@ public struct GenerateContentResponse: Sendable {
4948
/// The breakdown, by modality, of how many tokens are consumed by the candidates
5049
public let candidatesTokensDetails: [ModalityTokenCount]
5150

52-
/// A list of tokens used by tools, broken down by modality.
51+
/// The breakdown, by modality, of how many tokens were consumed by the tools used to process
52+
/// the request.
5353
public let toolUsePromptTokensDetails: [ModalityTokenCount]
5454
}
5555

0 commit comments

Comments
 (0)