Skip to content

Commit

Permalink
fix: Fix tool deletion bug (#2034)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattzh72 authored Nov 13, 2024
1 parent 6d6ee93 commit f6abf60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion letta/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2395,7 +2395,7 @@ def delete_tool(self, id: str):
Args:
id (str): ID of the tool
"""
return self.server.tool_manager.delete_tool_by_id(id, user_id=self.user_id)
return self.server.tool_manager.delete_tool_by_id(id, actor=self.user)

def get_tool_id(self, name: str) -> Optional[str]:
"""
Expand Down

0 comments on commit f6abf60

Please sign in to comment.