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.

fix: get_keys_response is a list not a dict (#1412)

Davida2647b4252e4
diff --git a/examples/memgpt_client.py b/examples/memgpt_client.py
index 41795f2ae..065770605 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)