Skip to content

Commit ce8f0e3

Browse files
committed
refactor: remove redundant tag from GetMediaTokenCount sample
1 parent 116b2eb commit ce8f0e3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

vertexai/snippets/src/main/java/vertexai/gemini/GetMediaTokenCount.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package vertexai.gemini;
1818

19-
// [START generativeaionvertexai_gemini_token_count_advanced]
2019
import com.google.cloud.vertexai.VertexAI;
2120
import com.google.cloud.vertexai.api.Content;
2221
import com.google.cloud.vertexai.api.CountTokensResponse;
@@ -57,5 +56,4 @@ public static int getMediaTokenCount(String projectId, String location, String m
5756
return tokenCount;
5857
}
5958
}
60-
}
61-
// [END generativeaionvertexai_gemini_token_count_advanced]
59+
}

0 commit comments

Comments
 (0)