Skip to content

Update hybrid SDK#177

Merged
lethargicpanda merged 2 commits into
mainfrom
te/hybrid-sdk-update
Jun 3, 2026
Merged

Update hybrid SDK#177
lethargicpanda merged 2 commits into
mainfrom
te/hybrid-sdk-update

Conversation

@lethargicpanda
Copy link
Copy Markdown
Collaborator

@lethargicpanda lethargicpanda commented Jun 3, 2026

Update hybrid SDK to support the Gemini Nano preview models

image

Copy link
Copy Markdown
Contributor

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

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 introduces support for selecting on-device preview model options in the Gemini Hybrid sample. It updates the UI with a new model option dropdown, adds state management in the ViewModel to check for preview model availability, and passes the selected option to the generative model configuration. Feedback highlights style guide violations, recommending that the new ModelOptionDropdown composable accept a Modifier parameter, and that the ViewModel avoid asynchronous work in its init block by utilizing a combined flow with stateIn instead. Additionally, adopting the flow approach would allow simplifying the reset function.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@lethargicpanda lethargicpanda force-pushed the te/hybrid-sdk-update branch from f861d2f to 402286c Compare June 3, 2026 20:43
@lethargicpanda
Copy link
Copy Markdown
Collaborator Author

cc @calren

@lethargicpanda lethargicpanda merged commit 8f47ab7 into main Jun 3, 2026
7 checks passed
@lethargicpanda lethargicpanda deleted the te/hybrid-sdk-update branch June 4, 2026 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants