MCPcopy Create free account
hub / github.com/Virtual-Protocol/virtuals-python / run

Method run

src/virtuals_sdk/game/worker.py:161–168  ·  view source on GitHub ↗

Gets the agent to complete the task on its own autonomously

(self, task: str)

Source from the content-addressed store, hash-verified

159 return action_response, self._function_result.model_copy()
160
161 def run(self, task: str):
162 """
163 Gets the agent to complete the task on its own autonomously
164 """
165
166 self.set_task(task)
167 while self._submission_id:
168 self.step()

Callers

nothing calls this directly

Calls 2

set_taskMethod · 0.95
stepMethod · 0.95

Tested by

no test coverage detected