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
Currently, when jupyter_collaboration is not installed in the environment, we use the getpass.getuser() method to retrieve the username shown instead of the Jupyter Server IdentityProvider. This is because we wanted to avoid showing "Anonymous XYZ" in the chat UI to avoid confusing users who are unfamiliar with the default IdentityProvider implementation, which is typically only used by jupyter_collaboration.
However, some server operators have informed us of use-cases where they have a custom IdentityProvider configured but do not want to install jupyter_collaboration in their deployment environment. Currently there is no way to use the JServer IdentityProvider when jupyter_collaboration is not installed.
Proposed Solution
Implement a new boolean trait on the root AiExtension class via traitlets that ensures the JServer IdentityProvider is always used to retrieve the username and avatar color. I would recommend defining it as
Problem
Currently, when
jupyter_collaboration
is not installed in the environment, we use thegetpass.getuser()
method to retrieve the username shown instead of the Jupyter Server IdentityProvider. This is because we wanted to avoid showing "Anonymous XYZ" in the chat UI to avoid confusing users who are unfamiliar with the default IdentityProvider implementation, which is typically only used byjupyter_collaboration
.However, some server operators have informed us of use-cases where they have a custom IdentityProvider configured but do not want to install
jupyter_collaboration
in their deployment environment. Currently there is no way to use the JServer IdentityProvider whenjupyter_collaboration
is not installed.Proposed Solution
Implement a new boolean trait on the root
AiExtension
class viatraitlets
that ensures the JServer IdentityProvider is always used to retrieve the username and avatar color. I would recommend defining it ason the root
AiExtension
class.The text was updated successfully, but these errors were encountered: