MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / clear

Method clear

core/memory_v2.py:569–572  ·  view source on GitHub ↗

Clear all working memory and reset the rolling summary.

(self)

Source from the content-addressed store, hash-verified

567 self.episodic.log("tick", f"Turn {self._turn}")
568
569 def clear(self):
570 """Clear all working memory and reset the rolling summary."""
571 self.working.clear()
572 self._summary = ''
573
574 # ── Higher-level helpers (v2 additions) ──────────────────────────────────
575

Callers 13

handle_commandFunction · 0.45
clear_contextFunction · 0.45
clear_historyFunction · 0.45
clearMethod · 0.45
clear_workingMethod · 0.45
_execute_taskMethod · 0.45
clear_allMethod · 0.45
setUpMethod · 0.45
tearDownMethod · 0.45
setUpMethod · 0.45
tearDownMethod · 0.45
test_clearMethod · 0.45

Calls

no outgoing calls

Tested by 5

setUpMethod · 0.36
tearDownMethod · 0.36
setUpMethod · 0.36
tearDownMethod · 0.36
test_clearMethod · 0.36