Reset the agent state for a new task.
(self)
| 129 | return self._execute_step(task, is_first) |
| 130 | |
| 131 | def reset(self) -> None: |
| 132 | """Reset the agent state for a new task.""" |
| 133 | self._context = [] |
| 134 | self._step_count = 0 |
| 135 | |
| 136 | def _execute_step( |
| 137 | self, user_prompt: str | None = None, is_first: bool = False |
no outgoing calls
no test coverage detected