Skip to content

Commit f7cd2cb

Browse files
Google APIscopybara-github
authored andcommitted
feat: adding thoughts_token_count to prediction service
PiperOrigin-RevId: 759720969
1 parent 8e6832c commit f7cd2cb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/prediction_service.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,9 @@ message GenerateContentResponse {
787787
// Number of tokens in the response(s).
788788
int32 candidates_token_count = 2;
789789

790+
// Output only. Number of tokens present in thoughts output.
791+
int32 thoughts_token_count = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
792+
790793
// Total token count for prompt and response candidates.
791794
int32 total_token_count = 3;
792795

0 commit comments

Comments
 (0)