Skip to content

Commit

Permalink
genai: fix end marker in one of the snippets (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliben authored Jul 12, 2024
1 parent 836b47d commit b48f58a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions genai/internal/samples/docs-snippets_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func ExampleGenerativeModel_CountTokens_textOnly() {
fmt.Println("candidates_token_count:", resp.UsageMetadata.CandidatesTokenCount)
fmt.Println("total_token_count:", resp.UsageMetadata.TotalTokenCount)
// ( prompt_token_count: 10, candidates_token_count: 38, total_token_count: 48 )
// [END tokens_text_only]
}

func ExampleGenerativeModel_CountTokens_cachedContent() {
Expand Down

0 comments on commit b48f58a

Please sign in to comment.