Skip to content

Commit a7bda3d

Browse files
Add files via upload
1 parent 05f2747 commit a7bda3d

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatScreen.kt

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

213215
Text(

app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatViewModel.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ class ChatViewModel(
131131
is Command.ScrollRightFromCoordinates -> "Nach rechts scrollen von Position (${it.x}, ${it.y}) mit Distanz ${it.distance}px und Dauer ${it.duration}ms"
132132
is Command.OpenApp -> "App öffnen: \"${it.packageName}\""
133133
is Command.WriteText -> "Text schreiben: \"${it.text}\""
134+
is Command.UseHighReasoningModel -> "Wechsle zu leistungsfähigerem Modell (gemini-2.5-pro-preview-03-25)"
135+
is Command.UseLowReasoningModel -> "Wechsle zu schnellerem Modell (gemini-2.0-flash-lite)"
134136
}
135137
}
136138

@@ -193,6 +195,8 @@ class ChatViewModel(
193195
is Command.ScrollRightFromCoordinates -> "Nach rechts scrollen von Position (${command.x}, ${command.y}) mit Distanz ${command.distance}px und Dauer ${command.duration}ms"
194196
is Command.OpenApp -> "App öffnen: \"${command.packageName}\""
195197
is Command.WriteText -> "Text schreiben: \"${command.text}\""
198+
is Command.UseHighReasoningModel -> "Wechsle zu leistungsfähigerem Modell (gemini-2.5-pro-preview-03-25)"
199+
is Command.UseLowReasoningModel -> "Wechsle zu schnellerem Modell (gemini-2.0-flash-lite)"
196200
}
197201

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

0 commit comments

Comments
 (0)