File tree Expand file tree Collapse file tree
app/src/main/kotlin/com/google/ai/sample Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,16 +12,16 @@ import com.google.ai.sample.feature.multimodal.PhotoReasoningViewModel
1212enum class ModelOption (val displayName : String , val modelName : String ) {
1313 GEMINI_FLASH_LITE (" Gemini 2.0 Flash Lite" , " gemini-2.0-flash-lite" ),
1414 GEMINI_FLASH (" Gemini 2.0 Flash" , " gemini-2.0-flash" ),
15- GEMINI_FLASH_PREVIEW (" Gemini 2.5 Flash Preview" , " gemini-2.5-flash-preview-04-17 " ),
16- GEMINI_PRO (" Gemini 2.5 Pro (maybe don't work)" , " gemini-2.5-pro-preview-05-06 " )
15+ GEMINI_FLASH_PREVIEW (" Gemini 2.5 Flash Preview" , " gemini-2.5-flash-preview-05-20 " ),
16+ GEMINI_PRO (" Gemini 2.5 Pro (maybe don't work)" , " gemini-2.5-pro-preview-06-05 " )
1717}
1818
1919val GenerativeViewModelFactory = object : ViewModelProvider .Factory {
2020 // Current selected model name
2121 private var currentModelName = ModelOption .GEMINI_FLASH_PREVIEW .modelName
2222
2323 /* *
24- * Set the model to high reasoning capability (gemini-2.5-pro-preview-03-25 )
24+ * Set the model to high reasoning capability (gemini-2.5-pro-preview-06-05 )
2525 */
2626 fun highReasoningModel () {
2727 currentModelName = ModelOption .GEMINI_PRO .modelName
You can’t perform that action at this time.
0 commit comments