MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / reset

Method reset

methods/mirix_agent.py:885–1009  ·  view source on GitHub ↗

Reset agent state and completely reinitialize MIRIX. This performs a thorough cleanup for both PostgreSQL and SQLite: 1. Hard delete all memory data via MIRIX API (works for both database types) 2. Delete all agents created by the current client 3. Additionally clean

(self)

Source from the content-addressed store, hash-verified

883 try:
884 if hasattr(self, '_is_client_owner') and self._is_client_owner:
885 self.cleanup()
886 except Exception:
887 pass # Ignore errors during destruction

Callers

nothing calls this directly

Calls 6

_run_asyncMethod · 0.95
_cleanup_sqlite_filesMethod · 0.95
_init_mirixMethod · 0.95
infoMethod · 0.65
errorMethod · 0.65
warningMethod · 0.45

Tested by

no test coverage detected