feat: add home and back action mappings to planner prompts

This commit is contained in:
lilong.129
2025-06-18 12:01:53 +08:00
parent 64ed72057f
commit 3d2707fa36
2 changed files with 5 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ var doubao_1_5_ui_tars_action_mapping = map[string]option.ActionName{
"type": option.ACTION_Input,
"scroll": option.ACTION_Swipe, // swipe up/down/left/right
"wait": option.ACTION_Sleep,
"press_home": option.ACTION_Home,
"press_back": option.ACTION_Back,
"finished": option.ACTION_Finished,
}
@@ -138,5 +140,7 @@ var doubao_1_5_thinking_vision_pro_action_mapping = map[string]option.ActionName
"type": option.ACTION_Input,
"scroll": option.ACTION_Swipe, // swipe up/down/left/right
"wait": option.ACTION_Sleep,
"press_home": option.ACTION_Home,
"press_back": option.ACTION_Back,
"finished": option.ACTION_Finished,
}