MCPcopy Create free account
hub / github.com/OpenManus/OpenManus-RL / __init__

Method __init__

openmanus_rl/memory/file_memory.py:16–20  ·  view source on GitHub ↗
(self, memory_file: str = "memory.md")

Source from the content-addressed store, hash-verified

14 """
15
16 def __init__(self, memory_file: str = "memory.md"):
17 super().__init__()
18 self.memory_file = memory_file
19 self.file_cache = [] # Recent entries from file
20 self._load_file_cache()
21
22 def _load_file_cache(self, limit: int = 100):
23 """Load recent entries from memory.md into cache."""

Callers

nothing calls this directly

Calls 1

_load_file_cacheMethod · 0.95

Tested by

no test coverage detected