File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,7 @@ public struct GenerateContentResponse: Sendable {
26
26
/// The total number of tokens across the generated response candidates.
27
27
public let candidatesTokenCount : Int
28
28
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.
31
30
public let toolUsePromptTokenCount : Int
32
31
33
32
/// The number of tokens used by the model's internal "thinking" process.
@@ -49,7 +48,8 @@ public struct GenerateContentResponse: Sendable {
49
48
/// The breakdown, by modality, of how many tokens are consumed by the candidates
50
49
public let candidatesTokensDetails : [ ModalityTokenCount ]
51
50
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.
53
53
public let toolUsePromptTokensDetails : [ ModalityTokenCount ]
54
54
}
55
55
You can’t perform that action at this time.
0 commit comments