feat: Add Letta voice tools (#1922)

This commit is contained in:
Matthew Zhou
2025-04-29 10:46:29 -07:00
committed by GitHub
parent 55e05a0af4
commit e6eea9450b
14 changed files with 205 additions and 48 deletions

View File

@@ -1,6 +1,5 @@
import os
import threading
import time
import uuid
import pytest
@@ -10,6 +9,7 @@ from letta_client.core.api_error import ApiError
from sqlalchemy import delete
from letta.orm import SandboxConfig, SandboxEnvironmentVariable
from tests.utils import wait_for_server
# Constants
SERVER_PORT = 8283
@@ -41,7 +41,7 @@ def client(request):
print("Starting server thread")
thread = threading.Thread(target=run_server, daemon=True)
thread.start()
time.sleep(5)
wait_for_server(server_url)
print("Running client tests with server:", server_url)
# create the Letta client