-
Notifications
You must be signed in to change notification settings - Fork 931
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
fix: persisted user display name #1425
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't creating a persisted user from a user the data layer's job?
In that case, I would expect this code to live in the data layer, e.g. in
chainlit/backend/chainlit/data/literalai.py
Line 225 in 970bde2
return PersistedUser( |
Similarly, it seems to be we should want to persist it create_user()
.
Overall, I don't think this is part of authenticating a user.
Or do I not understand this well?
The display_name should never be sent to the backend. The use case is to have unidentifiable users in the backend but on the UI the real name is displayed |
This seems to me a very uncommon use case for a field called Literally all I could find out in the code about it is "The My point is that if this feature is already confusing to a fellow maintainer, devs will struggle even more using it. Getting clarity on the naming on the feature and documenting it's use and use case would resolve it. Could you please:
|
No description provided.