-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
class AgentExecuteOptions(StagehandBaseModel):
"""
Options for agent execution.
Attributes:
instruction (str): The task instruction for the agent.
max_steps (Optional[int]): Maximum number of steps the agent can take.
auto_screenshot (Optional[bool]): Whether to automatically take screenshots between steps.
wait_between_actions (Optional[int]): Milliseconds to wait between actions.
context (Optional[str]): Additional context for the agent.
"""
instruction: str = Field(..., description="The task instruction for the agent.")
max_steps: Optional[int] = None
auto_screenshot: Optional[bool] = None
wait_between_actions: Optional[int] = None
context: Optional[str] = None
wait_between_actions
seems to be unused in the actual agent logic in the handler. Can this be implemented? Particularly would be very useful for our use case (dropdowns loading options after a delay)
Metadata
Metadata
Assignees
Labels
No labels