chore: Remove deprecated_tool mentions everywhere (#598)

This commit is contained in:
Matthew Zhou
2025-01-10 15:31:04 -10:00
committed by GitHub
parent 5ad412881d
commit c610d41f67
2 changed files with 0 additions and 9 deletions

View File

@@ -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")

View File

@@ -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":