fix: various fixes to python client and add tutorial notebooks (#1377)

This commit is contained in:
Sarah Wooders
2024-06-09 15:32:20 -07:00
committed by GitHub
parent de7de7e912
commit 51f06fdae2
26 changed files with 931 additions and 82 deletions

View File

@@ -170,6 +170,7 @@ def test_archival_memory(client, agent):
assert insert_response, "Inserting archival memory failed"
archival_memory_response = client.get_agent_archival_memory(agent_id=agent.id, limit=1)
print("MEMORY")
archival_memories = [memory.contents for memory in archival_memory_response.archival_memory]
assert memory_content in archival_memories, f"Retrieving archival memory failed: {archival_memories}"