Fix linting and type checking issues

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-03-04 19:53:24 +00:00
parent 583ac5711f
commit 5e29ac5f7b
2 changed files with 7 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ class ContextualMemory:
Fetches historical data or insights from LTM that are relevant to the task's description and expected_output,
formatted as bullet points.
"""
ltm_results = self.ltm.search(task, latest_n=2)
ltm_results = self.ltm.search(query=task, limit=2)
if not ltm_results:
return None