Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
Fix bug: add required argument `actor` (`load_file_to_source`). (#2292)
dboyliao12802fa6f56f
diff --git a/letta/client/client.py b/letta/client/client.pyindex 8a9d3e700..e242bfb26 100644--- a/letta/client/client.py+++ b/letta/client/client.py@@ -2909,7 +2909,7 @@ class LocalClient(AbstractClient):job = self.server.job_manager.create_job(pydantic_job=job, actor=self.user)# TODO: implement blocking vs. non-blocking- self.server.load_file_to_source(source_id=source_id, file_path=filename, job_id=job.id)+ self.server.load_file_to_source(source_id=source_id, file_path=filename, job_id=job.id, actor=self.user)return jobdef delete_file_from_source(self, source_id: str, file_id: str):