From eb5a3513d642ce59d0520c40e198679b7754d8c7 Mon Sep 17 00:00:00 2001 From: philipph-askui Date: Mon, 4 May 2026 16:18:36 +0200 Subject: [PATCH] =?UTF-8?q?=E2=8F=BA=20fix:=20correct=20typing=20speed=20u?= =?UTF-8?q?nit=20of=20computer=20type=20tool=20from=20characters=20per=20m?= =?UTF-8?q?inute=20to=20characters=20per=20second?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/askui/tools/agent_os.py | 2 +- src/askui/tools/computer/type_tool.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/askui/tools/agent_os.py b/src/askui/tools/agent_os.py index 2fbbb51b..344a83ab 100644 --- a/src/askui/tools/agent_os.py +++ b/src/askui/tools/agent_os.py @@ -296,7 +296,7 @@ def type(self, text: str, typing_speed: int = 50) -> None: Args: text (str): The text to be typed. typing_speed (int, optional): The speed of typing in characters per - minute. Defaults to `50`. + second. Defaults to `50`. """ raise NotImplementedError diff --git a/src/askui/tools/computer/type_tool.py b/src/askui/tools/computer/type_tool.py index adcfbf62..c2b11741 100644 --- a/src/askui/tools/computer/type_tool.py +++ b/src/askui/tools/computer/type_tool.py @@ -19,7 +19,7 @@ def __init__(self, agent_os: AgentOs | None = None) -> None: "typing_speed": { "type": "integer", "description": ( - "The speed of typing in characters per minute." + "The speed of typing in characters per second." " Defaults to 50" ), "default": 50, @@ -35,5 +35,5 @@ def __call__(self, text: str, typing_speed: int = 50) -> str: self.agent_os.type(text, typing_speed) return ( f"Text was typed: {text} with typing speed: " - f" {typing_speed} characters per minute." + f" {typing_speed} characters per second." )