Reset agent state and clear all memory systems.
(self)
| 454 | def reset(self) -> None: |
| 455 | """Reset agent state. Clears Neo4j data for current context.""" |
| 456 | super().reset() |
| 457 | |
| 458 | if self._tree_memory is not None: |
| 459 | try: |
| 460 | context_id = self._get_context_id() |
| 461 | user_name = f"ctx_{context_id}" |
| 462 | self._tree_memory.delete_all(user_name=user_name) |
| 463 | except Exception as e: |
nothing calls this directly
no outgoing calls
no test coverage detected