Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

修正role_id_memory_isolation下role_id导致的错误 (#2258)

fujiajie666cb5ea7206c6c
diff --git a/openviking/session/memory/memory_isolation_handler.py b/openviking/session/memory/memory_isolation_handler.py
index 5913e1232..cea9e65a0 100644
--- a/openviking/session/memory/memory_isolation_handler.py
+++ b/openviking/session/memory/memory_isolation_handler.py
@@ -46,7 +46,7 @@ class MemoryIsolationHandler:
return
messages = self._extract_context.messages if self._extract_context else []
for msg in messages:
- msg.role_id = self.ctx.resolve_role_id(msg.role, msg.role_id) if self.ctx else None
+ msg.role_id = None
def get_read_scope(self) -> RoleScope:
user_ids = set()