letta
letta copied to clipboard
Security issue when create agent is called from different user simultaneously
Describe the bug
Hi, when the create agent endpoint is called simultaneously from different users, the user_id is always stick with the first user, hence resulting in multiple users that can access to the chat of others.
I think it's related with the middleware setting the set_current_user function is called.