MCPcopy
hub / github.com/zai-org/Open-AutoGLM / IOSAgentConfig

Class IOSAgentConfig

phone_agent/agent_ios.py:17–30  ·  view source on GitHub ↗

Configuration for the iOS PhoneAgent.

Source from the content-addressed store, hash-verified

15
16@dataclass
17class IOSAgentConfig:
18 """Configuration for the iOS PhoneAgent."""
19
20 max_steps: int = 100
21 wda_url: str = "http://localhost:8100"
22 session_id: str | None = None
23 device_id: str | None = None # iOS device UDID
24 lang: str = "cn"
25 system_prompt: str | None = None
26 verbose: bool = True
27
28 def __post_init__(self):
29 if self.system_prompt is None:
30 self.system_prompt = get_system_prompt(self.lang)
31
32
33@dataclass

Callers 3

mainFunction · 0.90
mainFunction · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected