Update hybrid SDK#177
Conversation
There was a problem hiding this comment.
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.
f861d2f to
402286c
Compare
|
cc @calren |
Update hybrid SDK to support the Gemini Nano preview models