Skip to content

Commit ca74f88

Browse files
committed
Make promptTokensDetails an array
1 parent bb950ff commit ca74f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vertexai/src/types/responses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,5 +226,5 @@ export interface CountTokensResponse {
226226
*/
227227
totalBillableCharacters?: number;
228228

229-
promptTokensDetails?: ModalityTokenCount;
229+
promptTokensDetails?: ModalityTokenCount[];
230230
}

0 commit comments

Comments
 (0)