-
Notifications
You must be signed in to change notification settings - Fork 6.5k
fix(generative-ai): Update count tokens sample #11713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Change to new format - Add multimodal example
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
@@ -40,14 +40,14 @@ | |||
|
|||
|
|||
def test_gemini_guide_example() -> None: | |||
text = gemini_guide_example.generate_text(PROJECT_ID) | |||
text = gemini_guide_example.generate_text(PROJECT_ID, LOCATION) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For these samples, all of locations are set to "us-central1". These is no need to pass LOCATION.
Replacement for #11632