Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat(asyncify): migrate sbox tool exec sync call (#2470)
cthomasca81366da0be
diff --git a/letta/services/tool_executor/tool_executor.py b/letta/services/tool_executor/tool_executor.pyindex 104a44466..b022aafd7 100644--- a/letta/services/tool_executor/tool_executor.py+++ b/letta/services/tool_executor/tool_executor.py@@ -751,7 +751,7 @@ class SandboxToolExecutor(ToolExecutor):# Update agent memory if neededif tool_execution_result.agent_state is not None:- AgentManager().update_memory_if_changed(agent_state.id, tool_execution_result.agent_state.memory, actor)+ await AgentManager().update_memory_if_changed_async(agent_state.id, tool_execution_result.agent_state.memory, actor)return tool_execution_result