Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

feat(asyncify): conversation search tool (#2438)

cthomas6913e7d986e6
diff --git a/letta/services/tool_executor/tool_executor.py b/letta/services/tool_executor/tool_executor.py
index c76c6298d..0a205ebe0 100644
--- a/letta/services/tool_executor/tool_executor.py
+++ b/letta/services/tool_executor/tool_executor.py
@@ -155,7 +155,7 @@ class LettaCoreToolExecutor(ToolExecutor):
raise ValueError(f"'page' argument must be an integer")
count = RETRIEVAL_QUERY_DEFAULT_PAGE_SIZE
- messages = await MessageManager().list_user_messages_for_agent(
+ messages = await MessageManager().list_user_messages_for_agent_async(
agent_id=agent_state.id,
actor=actor,
query_text=query,