Phase 8: TypeScript migration, i18n rewrite, Activity Tree, Projects API, Heartbeats
This commit is contained in:
@@ -19,8 +19,8 @@ def _get_agent_soul(agent_id: str) -> str | None:
|
||||
|
||||
Returns None if not found.
|
||||
"""
|
||||
if not agent_id or agent_id == "rose":
|
||||
return None # Rose uses the global HERMES_HOME/SOUL.md
|
||||
if not agent_id:
|
||||
return None
|
||||
|
||||
for fname in ("soul.md", "SOUL.md"):
|
||||
path = HERMES_HOME / "agents" / agent_id / fname
|
||||
@@ -41,7 +41,7 @@ def _get_agent_memory_context(agent_id: str, query: str, limit: int = 5) -> str
|
||||
Searches rose_memory collection filtered by topic matching "{agent_id}/".
|
||||
Returns formatted text block or None if nothing found.
|
||||
"""
|
||||
if not agent_id or agent_id == "rose":
|
||||
if not agent_id:
|
||||
return None
|
||||
|
||||
matches = _search_agent_memory(agent_id, query, limit=limit)
|
||||
|
||||
Reference in New Issue
Block a user