LLM Chat widget visibility for all users

Hello, I am a new user of xwiki.

I am in the process of testing the LLM extension in xwiki. I am encountering an issue with the chat widget being visible only to the admin user that saves the
chat widget visible flag.

It does not seem to be visible to other users.

I did configure the groups for the models and collections.
I would like to have the widget visible to all users (or a group).
When I look at the demo video, it seems the demo was done as an admin user.

I am using xwiki version 10.16.1
I am deploying with docker compose using the following image: xwiki:16-mariadb-tomcat

I have tried reinstalling multiple times with and without other extensions but I was not able to resolve the issue.

is the value of the
Enable chat widget
parameter available to all users, is there some special config/permissions I need to
set to make that work?

I only see the javascript for the widget being injected in the header for the main admin user (the one that installed).

I know it is still classified as Beta, but does anyone have the chat widget working
for non admin users?

Thanks in advance,

Mike

This is probably a right issue.

I tested it out and it looks like it’s a bug. I did not have this chat button either with a standard user while the property is True…

I just checked the object responsible for adding the webjar for this Chat in the header.


(x+x+x+a to have access to advanced editors and edit objects on the configuration page, see the URL in the screenshot above)

Changing the Extension Scope from Current User (only one Administrator, the one that has edit right on the page) to Current Wiki was enough for my regular user to get the chat button.


@ppantiru might know more about this :slight_smile:

I opened Loading... to track the status of this issue.


Thanks for your report!
I hope this could help you a bit :slight_smile:

Lucas C.

Thanks,

That solved the issue.
After changing it to current wiki, it is now visible for other users.

Mike