Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
call storage.search in user context search instead of memory.search (#1692)
Aviral Jaine01c0a0f4cc2
diff --git a/src/crewai/memory/user/user_memory.py b/src/crewai/memory/user/user_memory.pyindex 25e36617c..24e5fe035 100644--- a/src/crewai/memory/user/user_memory.py+++ b/src/crewai/memory/user/user_memory.py@@ -37,7 +37,7 @@ class UserMemory(Memory):limit: int = 3,score_threshold: float = 0.35,):- results = super().search(+ results = self.storage.search(query=query,limit=limit,score_threshold=score_threshold,