Skip to content

Commit 36160e3

Browse files
Add files via upload
1 parent a7bda3d commit 36160e3

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

app/src/main/kotlin/com/google/ai/sample/feature/multimodal/PhotoReasoningScreen.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,8 @@ fun PhotoReasoningScreen(
454454
is Command.ScrollRightFromCoordinates -> "Nach rechts scrollen von Position (${command.x}, ${command.y}) mit Distanz ${command.distance}px und Dauer ${command.duration}ms"
455455
is Command.OpenApp -> "App öffnen: \"${command.packageName}\""
456456
is Command.WriteText -> "Text schreiben: \"${command.text}\""
457+
is Command.UseHighReasoningModel -> "Wechsle zu leistungsfähigerem Modell (gemini-2.5-pro-preview-03-25)"
458+
is Command.UseLowReasoningModel -> "Wechsle zu schnellerem Modell (gemini-2.0-flash-lite)"
457459
}
458460

459461
Text(

app/src/main/kotlin/com/google/ai/sample/feature/multimodal/PhotoReasoningViewModel.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ class PhotoReasoningViewModel(
259259
is Command.ScrollRightFromCoordinates -> "Nach rechts scrollen von Position (${it.x}, ${it.y}) mit Distanz ${it.distance}px und Dauer ${it.duration}ms"
260260
is Command.OpenApp -> "App öffnen: \"${it.packageName}\""
261261
is Command.WriteText -> "Text schreiben: \"${it.text}\""
262+
is Command.UseHighReasoningModel -> "Wechsle zu leistungsfähigerem Modell (gemini-2.5-pro-preview-03-25)"
263+
is Command.UseLowReasoningModel -> "Wechsle zu schnellerem Modell (gemini-2.0-flash-lite)"
262264
}
263265
}
264266

@@ -321,6 +323,8 @@ class PhotoReasoningViewModel(
321323
is Command.ScrollRightFromCoordinates -> "Nach rechts scrollen von Position (${command.x}, ${command.y}) mit Distanz ${command.distance}px und Dauer ${command.duration}ms"
322324
is Command.OpenApp -> "App öffnen: \"${command.packageName}\""
323325
is Command.WriteText -> "Text schreiben: \"${command.text}\""
326+
is Command.UseHighReasoningModel -> "Wechsle zu leistungsfähigerem Modell (gemini-2.5-pro-preview-03-25)"
327+
is Command.UseLowReasoningModel -> "Wechsle zu schnellerem Modell (gemini-2.0-flash-lite)"
324328
}
325329

326330
_commandExecutionStatus.value = "Führe aus: $commandDescription (${index + 1}/${commands.size})"

0 commit comments

Comments
 (0)