feat(ci): Adds Integration Testing Against cloud-api (#1909)

Co-authored-by: Shubham Naik <shub@letta.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
Kian Jones
2025-05-08 11:28:41 -07:00
committed by GitHub
parent 93d702141d
commit 8023020f80
3 changed files with 12 additions and 3 deletions

View File

@@ -38,8 +38,11 @@ def client(server):
server_url = server
print("Running client tests with server:", server_url)
# Overide the base_url if the LETTA_API_URL is set
api_url = os.getenv("LETTA_API_URL")
base_url = api_url if api_url else server_url
# create the Letta client
yield Letta(base_url=server_url, token=None)
yield Letta(base_url=base_url, token=None)
def skip_test_if_not_implemented(handler, resource_name, test_name):