Gets the agent to complete the task on its own autonomously
(self, task: str)
| 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() |