feat(knowledge): document link supports jumping to view

This commit is contained in:
zhayujie
2026-04-11 20:16:43 +08:00
parent 76e9fef3b2
commit ea78e3d0c6
4 changed files with 120 additions and 3 deletions

View File

@@ -48,6 +48,13 @@ class MemorySearchTool(BaseTool):
super().__init__()
self.memory_manager = memory_manager
self.user_id = user_id
from config import conf
if conf().get("knowledge", True):
self.description = (
"Search agent's long-term memory and knowledge base using semantic and keyword search. "
"Use this to recall past conversations, preferences, and knowledge pages."
)
def execute(self, args: dict):
"""