You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although I agree with the need to distinguish the type of client, I wonder where this should live.
This information seems more related to jupyter-ai than jupyter-chat itself. We could allow this additional information in jupyter-chat, so that it can be customized in other extensions that use it.
There are currently some work in progress for a suggestions system in collaborative document (e.g. Support suggestions jupyter-collaboration#292). We could easily imagine suggestions from a bot. In this case, I believe that this information should be define at a Jupyter level, to be used by any extension.
And to complete this issue, we should also consider that bot users may come from the front end, e.g. https://github.com/jupyterlite/ai.
Problem
Currently, the
YChat
API doesn't make a distinction between users connected from a browser & bots connected from a server extension.Proposed Solution
Add some way to distinguish between human users & server bots in the return type of
YChat.get_users()
and other similar methods.We should also consider renaming this method to
YChat.get_clients()
, since a client may be a user or a bot.The text was updated successfully, but these errors were encountered: