Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

test: make test_sdk_client compat with 1.0 [LET-6322] (#6371)

cthomase272da068cb6
diff --git a/tests/test_sdk_client.py b/tests/test_sdk_client.py
index f38b2efca..70240f779 100644
--- a/tests/test_sdk_client.py
+++ b/tests/test_sdk_client.py
@@ -1462,6 +1462,7 @@ def test_create_tool_from_function_with_docstring(e2b_sandbox_mode, client: Lett
client.tools.delete(tool.id)
[email protected](reason="Not compatible with 1.0 SDK")
def test_preview_payload(client: LettaSDKClient):
temp_agent = client.agents.create(
memory_blocks=[
@@ -2263,6 +2264,7 @@ def test_create_agent(client: LettaSDKClient) -> None:
client.agents.delete(agent_id=agent.id)
[email protected](reason="Not compatible with 1.0 SDK")
def test_list_all_messages(client: LettaSDKClient):
"""Test listing all messages across multiple agents."""
# Create two agents