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

Method reset

phone_agent/agent_ios.py:149–152  ·  view source on GitHub ↗

Reset the agent state for a new task.

(self)

Source from the content-addressed store, hash-verified

147 return self._execute_step(task, is_first)
148
149 def reset(self) -> None:
150 """Reset the agent state for a new task."""
151 self._context = []
152 self._step_count = 0
153
154 def _execute_step(
155 self, user_prompt: str | None = None, is_first: bool = False

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected