Skip to content

Commit 3a2600b

Browse files
fix: slow caching due to constants switches to Agent due to of printing tool
1 parent bdf15bd commit 3a2600b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/askui/prompts/act_prompts.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
down/up to see everything before deciding something isn't available.
4747
* When using your function calls, they take a while to run and send back
4848
to you. Where possible/feasible, try to chain multiple of these calls
49-
all into one function calls request."""
49+
all into one function calls request.
50+
* If you need to execute a click, make sure to move the mouse to the correct
51+
position first!"""
5052

5153
ANDROID_CAPABILITIES = """You are an autonomous Android device control agent
5254
operating via ADB on a test device with full system access.

src/askui/speaker/cache_executor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ def _should_skip_step(self, step: ToolUseBlockParam) -> bool:
607607
"retrieve_available_trajectories_tool",
608608
"switch_speaker",
609609
"execute_cached_executions_tool", # backward compat for old caches
610+
"print_to_console", # verbosity is not needed during cached executions
610611
]
611612
return any(step.name.startswith(prefix) for prefix in tools_to_skip)
612613

0 commit comments

Comments
 (0)