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

Method memory_size

methods/memos_agent.py:471–473  ·  view source on GitHub ↗

Get count of actual stored memory items.

(self)

Source from the content-addressed store, hash-verified

469
470 def set_context_id(self, context_id: int) -> None:
471 """Set context ID. Re-initializes memory system for new context."""
472 old_id = self._context_id
473 super().set_context_id(context_id)
474
475 # Re-init memory system if context changed
476 if old_id != context_id:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected