From 6b7399d7e6ae72a8a45bc3784d0b68a5a83d64ad Mon Sep 17 00:00:00 2001 From: Adrian Stritzinger Date: Thu, 12 Jun 2025 10:18:10 +0200 Subject: [PATCH] docs(agent): fix type annotation of `VisionAgent.act()` --- src/askui/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/askui/agent.py b/src/askui/agent.py index acfb0050..f149e78f 100644 --- a/src/askui/agent.py +++ b/src/askui/agent.py @@ -549,7 +549,7 @@ def act( interface interactions. Args: - goal (str): A description of what the agent should achieve. + goal (str | list[MessageParam]): A description of what the agent should achieve. model (str | None, optional): The composition or name of the model(s) to be used for achieving the `goal`. on_message (OnMessageCb | None, optional): Callback for new messages. If it returns `None`, stops and does not add the message.