Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list_users throws Exception "too many values to unpack" #2202

Open
theocnrds opened this issue Dec 9, 2024 · 1 comment
Open

list_users throws Exception "too many values to unpack" #2202

theocnrds opened this issue Dec 9, 2024 · 1 comment
Assignees

Comments

@theocnrds
Copy link

Describe the bug
GET Endpoint users (func list_users()) expects two values (next_cursor and users) from� server.user_manager.list_users(cursor=cursor, limit=limit) which returns only a single list of User instances.

@sarahwooders
Copy link
Collaborator

We don't recommend using the user objects provided by letta - if you have your own notion of a user in your application, you should use the tags field in agents to tag agents with your end user IDs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants