Skip to content

Commit

Permalink
fix: create source (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahwooders committed Aug 17, 2024
1 parent 24fea54 commit 4983595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memgpt/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ def load_data(self, connector: DataConnector, source_name: str):
self.server.load_data(user_id=self.user_id, connector=connector, source_name=source_name)

def create_source(self, name: str):
self.server.create_source(user_id=self.user_id, name=name)
return self.server.create_source(user_id=self.user_id, name=name)

def attach_source_to_agent(self, source_id: uuid.UUID, agent_id: uuid.UUID):
self.server.attach_source_to_agent(user_id=self.user_id, source_id=source_id, agent_id=agent_id)
Expand Down

0 comments on commit 4983595

Please sign in to comment.