fix: Fix tool deletion bug (#2034)
This commit is contained in:
@@ -2395,7 +2395,7 @@ class LocalClient(AbstractClient):
|
||||
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]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user