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

Class AgentConfig

phone_agent/agent.py:17–28  ·  view source on GitHub ↗

Configuration for the PhoneAgent.

Source from the content-addressed store, hash-verified

15
16@dataclass
17class AgentConfig:
18 """Configuration for the PhoneAgent."""
19
20 max_steps: int = 100
21 device_id: str | None = None
22 lang: str = "cn"
23 system_prompt: str | None = None
24 verbose: bool = True
25
26 def __post_init__(self):
27 if self.system_prompt is None:
28 self.system_prompt = get_system_prompt(self.lang)
29
30
31@dataclass

Callers 8

mainFunction · 0.90
example_basic_taskFunction · 0.90
example_with_callbacksFunction · 0.90
example_step_by_stepFunction · 0.90
example_multiple_tasksFunction · 0.90
example_remote_deviceFunction · 0.90
mainFunction · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected