Skip to content

Commit fe1d535

Browse files
authored
Merge pull request google-gemini#48 from kinarr/update-region-tags-count-tokens-go
Update some region tags in the Count Tokens Go file
2 parents 11a9b4b + 707d50b commit fe1d535

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

go/count_tokens.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func TokensMultimodalImageInline() error {
121121
}
122122

123123
func TokensMultimodalVideoAudioInline() error {
124-
// [START tokens_multimodal_video_audio_file_api]
124+
// [START tokens_multimodal_video_audio_inline]
125125
ctx := context.Background()
126126
client, err := genai.NewClient(ctx, &genai.ClientConfig{
127127
APIKey: os.Getenv("GEMINI_API_KEY"),
@@ -166,12 +166,12 @@ func TokensMultimodalVideoAudioInline() error {
166166
log.Fatal(err)
167167
}
168168
fmt.Println(string(usageMetadata))
169-
// [END tokens_multimodal_video_audio_file_api]
169+
// [END tokens_multimodal_video_audio_inline]
170170
return err
171171
}
172172

173173
func TokensMultimodalPdfInline() error {
174-
// [START tokens_multimodal_pdf_file_api]
174+
// [START tokens_multimodal_pdf_inline]
175175
ctx := context.Background()
176176
client, err := genai.NewClient(ctx, &genai.ClientConfig{
177177
APIKey: os.Getenv("GEMINI_API_KEY"),
@@ -216,7 +216,7 @@ func TokensMultimodalPdfInline() error {
216216
log.Fatal(err)
217217
}
218218
fmt.Println(string(usageMetadata))
219-
// [END tokens_multimodal_pdf_file_api]
219+
// [END tokens_multimodal_pdf_inline]
220220
return err
221221
}
222222

0 commit comments

Comments
 (0)