Skip to content

Commit 07a3b64

Browse files
author
Guiners
committed
adding samples, test, lints
1 parent a76c235 commit 07a3b64

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

genai/count-tokens/counttoken-compute-with-txt.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
'use strict';
1616

17-
// [START googlegenaisdk_counttoken_resp_with_txt]
17+
// [START googlegenaisdk_counttoken_compute_with_txt]
1818
const {GoogleGenAI} = require('@google/genai');
1919

2020
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_PROJECT;
@@ -40,7 +40,7 @@ async function countTokens(
4040

4141
return response.tokensInfo;
4242
}
43-
// [END googlegenaisdk_counttoken_resp_with_txt]
43+
// [END googlegenaisdk_counttoken_compute_with_txt]
4444

4545
module.exports = {
4646
countTokens,

0 commit comments

Comments
 (0)