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

Function get_memory

core/memory_v2.py:648–653  ·  view source on GitHub ↗

Get (or create) the global Memory singleton.

()

Source from the content-addressed store, hash-verified

646
647
648def get_memory() -> Memory:
649 """Get (or create) the global Memory singleton."""
650 global _memory
651 if _memory is None:
652 _memory = Memory()
653 return _memory
654
655
656def reset_memory():

Callers 12

memory.pyFile · 0.90
memory_loadedMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90

Calls 1

MemoryClass · 0.85

Tested by 10

setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72