4deafc5b1e
🌿 Preview Python SDK / changed-files (push) Has been cancelled
🌿 Preview Python SDK / preview-python-sdk (push) Has been cancelled
🌿 Preview TypeScript SDK / changed-files (push) Has been cancelled
🌿 Preview TypeScript SDK / preview-typescript-sdk (push) Has been cancelled
Sync Code / notify (push) Has been cancelled
Test Package Installation / test-install (3.13) (push) Has been cancelled
Test Package Installation / test-install (3.12) (push) Has been cancelled
Notify Submodule Repos / notify (push) Has been cancelled
Run Docker integration tests / test (push) Has been cancelled
🌿 Publish Docs / run (push) Has been cancelled
Test Package Installation / test-install (3.11) (push) Has been cancelled
13 lines
474 B
Python
13 lines
474 B
Python
from tqdm import tqdm
|
|
|
|
from letta.schemas.user import User
|
|
from letta.services.organization_manager import OrganizationManager
|
|
from letta.services.tool_manager import ToolManager
|
|
|
|
orgs = OrganizationManager().list_organizations(cursor=None, limit=5000)
|
|
for org in tqdm(orgs):
|
|
if org.name != "default":
|
|
fake_user = User(id="user-00000000-0000-4000-8000-000000000000", name="fake", organization_id=org.id)
|
|
|
|
ToolManager().upsert_base_tools(actor=fake_user)
|