Skip to content

Commit b7484bb

Browse files
Update GenerativeAiViewModelFactory.kt
1 parent 85f7537 commit b7484bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/kotlin/com/google/ai/sample/GenerativeAiViewModelFactory.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ val GenerativeViewModelFactory = object : ViewModelProvider.Factory {
1717
* Set the model to high reasoning capability (gemini-2.5-pro-preview-03-25)
1818
*/
1919
fun highReasoningModel() {
20-
currentModelName = "gemini-2.5-pro-preview-03-25"
20+
currentModelName = "gemini-2.5.pro-exp-03-25"
2121
}
2222

2323
/**
@@ -85,7 +85,7 @@ object GenerativeAiViewModelFactory {
8585
* Set the model to high reasoning capability (gemini-2.5-pro-preview-03-25)
8686
*/
8787
fun highReasoningModel() {
88-
currentModelName = "gemini-2.5-pro-preview-03-25"
88+
currentModelName = "gemini-2.5.pro-exp-03-25"
8989
// Also update the original factory to keep them in sync
9090
(GenerativeViewModelFactory as ViewModelProvider.Factory).apply {
9191
if (this is ViewModelProvider.Factory) {

0 commit comments

Comments
 (0)