From 3a2600b67a895ab38986afc059e334f808d4ab0e Mon Sep 17 00:00:00 2001 From: philipph-askui Date: Tue, 10 Mar 2026 17:15:56 +0100 Subject: [PATCH 1/2] fix: slow caching due to constants switches to Agent due to of printing tool --- src/askui/prompts/act_prompts.py | 4 +++- src/askui/speaker/cache_executor.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/askui/prompts/act_prompts.py b/src/askui/prompts/act_prompts.py index c5f6a4a3..54796b0f 100644 --- a/src/askui/prompts/act_prompts.py +++ b/src/askui/prompts/act_prompts.py @@ -46,7 +46,9 @@ down/up to see everything before deciding something isn't available. * When using your function calls, they take a while to run and send back to you. Where possible/feasible, try to chain multiple of these calls - all into one function calls request.""" + all into one function calls request. +* If you need to execute a click, make sure to move the mouse to the correct + position first!""" ANDROID_CAPABILITIES = """You are an autonomous Android device control agent operating via ADB on a test device with full system access. diff --git a/src/askui/speaker/cache_executor.py b/src/askui/speaker/cache_executor.py index 91f24d5f..9eb91823 100644 --- a/src/askui/speaker/cache_executor.py +++ b/src/askui/speaker/cache_executor.py @@ -607,6 +607,7 @@ def _should_skip_step(self, step: ToolUseBlockParam) -> bool: "retrieve_available_trajectories_tool", "switch_speaker", "execute_cached_executions_tool", # backward compat for old caches + "print_to_console", # verbosity is not needed during cached executions ] return any(step.name.startswith(prefix) for prefix in tools_to_skip) From 39f72bf068fa9329a1044f6e36694a3733f1f1fe Mon Sep 17 00:00:00 2001 From: philipph-askui Date: Tue, 10 Mar 2026 17:18:18 +0100 Subject: [PATCH 2/2] fix formatting issue in cache executor --- src/askui/speaker/cache_executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/askui/speaker/cache_executor.py b/src/askui/speaker/cache_executor.py index 9eb91823..404c0b21 100644 --- a/src/askui/speaker/cache_executor.py +++ b/src/askui/speaker/cache_executor.py @@ -607,7 +607,7 @@ def _should_skip_step(self, step: ToolUseBlockParam) -> bool: "retrieve_available_trajectories_tool", "switch_speaker", "execute_cached_executions_tool", # backward compat for old caches - "print_to_console", # verbosity is not needed during cached executions + "print_to_console", # verbosity is not needed during cached executions ] return any(step.name.startswith(prefix) for prefix in tools_to_skip)