MCPcopy Create free account
hub / github.com/X-PLUG/MobileAgent / wait

Method wait

PC-Agent/pymac.py:597–602  ·  view source on GitHub ↗

Wait for a specified amount of time Args: time:float the amount of time to wait in seconds

(self, time: float)

Source from the content-addressed store, hash-verified

595
596 @agent_action
597 def wait(self, time: float):
598 """Wait for a specified amount of time
599 Args:
600 time:float the amount of time to wait in seconds
601 """
602 return f"""import time; time.sleep({time})"""
603
604 @agent_action
605 def done(self):

Callers 6

waitFunction · 0.45
mainFunction · 0.45
get_server_addressMethod · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected