mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 14:15:14 +00:00
Hotfix: fix path to memory_maintenance.md
This commit is contained in:
1 parent
1c5cf3486e
commit
cbfe68a4cd
2 files changed
+4
-1
No files matched your search
@@ -61,6 +61,9 @@ class SerenaPaths:
|
||||
home_dir = str(Path.home() / SERENA_MANAGED_DIR_NAME)
|
||||
else:
|
||||
home_dir = home_dir.strip()
|
||||
self.serena_pkg_path = Path(__file__).parent.parent.resolve()
|
||||
self.serena_resources_path = self.serena_pkg_path / "resources"
|
||||
|
||||
self.serena_user_home_dir: str = home_dir
|
||||
"""
|
||||
the path to the Serena home directory, where the user's configuration/data is stored.
|
||||
|
||||
@@ -84,7 +84,7 @@ class MemoryManager:
|
||||
return cls._MEMORY_REF_PREFIX + name
|
||||
|
||||
MEMORY_MAINTENANCE_NAME: str = "memory_maintenance"
|
||||
_MEMORY_MAINTENANCE_TEMPLATE_PATH: Path = Path(__file__).parent / "resources" / "memory_maintenance.md"
|
||||
_MEMORY_MAINTENANCE_TEMPLATE_PATH: Path = SerenaPaths().serena_resources_path / "memory_maintenance.md"
|
||||
|
||||
def ensure_memory_maintenance_memory(self) -> str:
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user