We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cc56281 + d835dc6 commit 7e94791Copy full SHA for 7e94791
1 file changed
src/askui/models/ui_tars_ep/ui_tars_api.py
@@ -210,8 +210,8 @@ def execute_act(self, message_history):
210
self._agent_os.type(action.content)
211
time.sleep(0.5)
212
if action.action_type == "hotkey":
213
- self._agent_os.keyboard_pressed(action.content)
214
- self._agent_os.keyboard_release(action.content)
+ self._agent_os.keyboard_pressed(action.key)
+ self._agent_os.keyboard_release(action.key)
215
216
if action.action_type == "call_user":
217
time.sleep(1)
0 commit comments