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

Method log

core/memory_v2.py:399–404  ·  view source on GitHub ↗
(self, action: str, details: str = None)

Source from the content-addressed store, hash-verified

397 self._state = None
398
399 def log(self, action: str, details: str = None):
400 if self._state and hasattr(self._state, 'log_action'):
401 try:
402 self._state.log_action(action, details)
403 except Exception:
404 pass
405
406 def get_recent(self, limit: int = 50) -> List[Dict]:
407 if self._state and hasattr(self._state, 'get_recent_actions'):

Callers 3

__init__Method · 0.80
tickMethod · 0.80
log_actionMethod · 0.80

Calls 1

log_actionMethod · 0.45

Tested by

no test coverage detected