MCPcopy Create free account
hub / github.com/zai-org/Open-AutoGLM / __init__

Method __init__

phone_agent/actions/handler.py:35–43  ·  view source on GitHub ↗
(
        self,
        device_id: str | None = None,
        confirmation_callback: Callable[[str], bool] | None = None,
        takeover_callback: Callable[[str], None] | None = None,
    )

Source from the content-addressed store, hash-verified

33 """
34
35 def __init__(
36 self,
37 device_id: str | None = None,
38 confirmation_callback: Callable[[str], bool] | None = None,
39 takeover_callback: Callable[[str], None] | None = None,
40 ):
41 self.device_id = device_id
42 self.confirmation_callback = confirmation_callback or self._default_confirmation
43 self.takeover_callback = takeover_callback or self._default_takeover
44
45 def execute(
46 self, action: dict[str, Any], screen_width: int, screen_height: int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected