From a2647b4252e4f602514e25dd22a5086b2e5d0b26 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 26 May 2024 00:19:30 +0200 Subject: [PATCH] fix: get_keys_response is a list not a dict (#1412) --- examples/memgpt_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/memgpt_client.py b/examples/memgpt_client.py index 41795f2a..06577060 100644 --- a/examples/memgpt_client.py +++ b/examples/memgpt_client.py @@ -25,7 +25,7 @@ def main(): # List available keys get_keys_response = admin.get_keys(user_id=user_id) - print(f"User {user_id} has keys: {get_keys_response.api_key_list}") + print(f"User {user_id} has keys: {get_keys_response}") # Connect to the server as a user client = create_client(base_url="http://localhost:8283", token=token)