Skip to content

feat(genai): Add new samples for the Interactions API - #14640

Open
holtskinner wants to merge 9 commits into
mainfrom
interactions
Open

holtskinner wants to merge 9 commits into
mainfrom
interactions

Conversation

@holtskinner

Copy link
Copy Markdown
Contributor

Description

Fixes #

Checklist

Testing

  • I have tested this change on a live environment and verified it works as intended.

Compliance & Style


Post-Approval Actions

  • Please merge this PR for me once it is approved

@holtskinner
holtskinner requested review from a team as code owners October 13, 2026 15:14
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Oct 13, 2026
@snippet-bot

snippet-bot Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 39 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the google-genai dependency to version 2.29.0 and introduces a comprehensive suite of new example scripts and tests demonstrating the interactions API across multiple capabilities, including bounding boxes, code execution, controlled generation, image generation, text generation, thinking, and tools. Feedback on the new code highlights a potential hang in headless environments due to the use of im.show() in the bounding box example, as well as several potential FileNotFoundError crashes across multiple image generation examples where output files are saved to a directory (output_folder) without first ensuring its creation.

Comment thread genai/bounding_box/boundingbox_interactions_with_txt_img.py
Comment thread genai/image_generation/imggen_interactions_mmflash_edit_img_with_txt_img.py Outdated
Comment thread genai/image_generation/imggen_interactions_mmflash_img_with_vid.py Outdated
Comment thread genai/image_generation/imggen_interactions_mmflash_locale_aware_with_txt.py Outdated
Comment thread genai/image_generation/imggen_interactions_mmflash_multiple_imgs_with_txt.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants