Skip to content

Commit

Permalink
call storage.search in user context search instead of memory.search
Browse files Browse the repository at this point in the history
  • Loading branch information
burnerlee committed Dec 3, 2024
1 parent bca56ee commit 1710e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crewai/memory/user/user_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def search(
limit: int = 3,
score_threshold: float = 0.35,
):
results = super().search(
results = self.storage.search(
query=query,
limit=limit,
score_threshold=score_threshold,
Expand Down

0 comments on commit 1710e5b

Please sign in to comment.