Skip to content

Commit 297d154

Browse files
add comment for todo
1 parent a8811fe commit 297d154

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stagehand/handlers/act_handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ async def act(self, options: Union[ActOptions, ObserveResult]) -> ActResult:
4848
)
4949

5050
# Extract timeout_ms from options (check both snake_case and camelCase)
51+
## TODO - this is a temporary fix to support the timeout_ms field in the options.
52+
## We should update the options to use the timeout_ms field instead of timeoutMs.
5153
timeout_ms = options.get("timeout_ms") or options.get("timeoutMs")
5254

5355
# If timeout is specified, wrap the entire act operation with asyncio.wait_for

0 commit comments

Comments
 (0)