Skip to content

Conversation

@andrewheard
Copy link
Contributor

WIP - testing an approach that introduces TemplateInputRepresentable, similar to PartsRepresentable, instead of using Any.

#no-changelog

paulb777 and others added 30 commits October 16, 2025 15:27
Updated `GenerateImagesRequest` to encode the `variables` property as `inputs`, similar to how `TemplateGenerateContentRequest` handles it. This ensures consistency across the API.
Updated `GenerateImagesRequest` to correctly construct the URL, including the `projectID` and `location`. This mirrors the URL construction in `TemplateGenerateContentRequest` and fixes a 404 error that was occurring in the `testGenerateImages` integration test.

The `TemplateImagenModel` was also updated to pass the `projectID` to the `GenerateImagesRequest` initializer.
@google-oss-bot
Copy link

1 Warning
⚠️ New public headers were added, did you remember to add them to the umbrella header?

Generated by 🚫 Danger

@andrewheard andrewheard changed the base branch from pb-spt to main October 31, 2025 22:53
@andrewheard andrewheard changed the base branch from main to pb-spt October 31, 2025 22:54
Base automatically changed from pb-spt to main October 31, 2025 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants