chore: Remove deprecated_tool mentions everywhere (#598)
This commit is contained in:
@@ -21,10 +21,6 @@ branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
def deprecated_tool():
|
||||
return "this is a deprecated tool, please remove it from your tools list"
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
# Delete all tools
|
||||
op.execute("DELETE FROM tools")
|
||||
|
||||
@@ -4,11 +4,6 @@ from letta.schemas.user import User
|
||||
from letta.services.organization_manager import OrganizationManager
|
||||
from letta.services.tool_manager import ToolManager
|
||||
|
||||
|
||||
def deprecated_tool():
|
||||
return "this is a deprecated tool, please remove it from your tools list"
|
||||
|
||||
|
||||
orgs = OrganizationManager().list_organizations(cursor=None, limit=5000)
|
||||
for org in tqdm(orgs):
|
||||
if org.name != "default":
|
||||
|
||||
Reference in New Issue
Block a user