This issue has been created
There is 1 comment.
 
 
LLM AI Integration / cid:jira-generated-image-avatar-adc004ec-73b0-4762-8817-99d84f5b1084 LLMAI-117 Open

Regular users do not have a Chat button

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-115b97bf-593d-4c20-b9ac-71d0d27a49f5 Charpentier Lucas created this issue on 06/Jan/25 16:30
 
Summary: Regular users do not have a Chat button
Issue Type: cid:jira-generated-image-avatar-adc004ec-73b0-4762-8817-99d84f5b1084 Bug
Affects Versions: 0.7
Assignee: Unassigned
Created: 06/Jan/25 16:30
Labels: usability
Priority: cid:jira-generated-image-static-major-74f792c4-4b26-4c74-aefa-efa5cb7bae8f Major
Reporter: Charpentier Lucas
Description:

This issue was first reported at https://forum.xwiki.org/t/llm-chat-widget-visibility-for-all-users/16215 . You can also find on there a bit more info I dug up and a quick fix I proposed for the user reporting the bug.

It seems that the Webjar responsible for the Chat button creation is not loaded for regular users, even when the config allows it.

___
I don't know if it's intentional, but in any case, this behaviour with this configuration is confusing. The scope of the UIX should be extended or the config should clearly state what actually happens.

 
 

1 comment

 
cid:jira-generated-image-avatar-115b97bf-593d-4c20-b9ac-71d0d27a49f5 Charpentier Lucas on 06/Jan/25 16:33
 

https://github.com/xwiki-contrib/ai-llm/blame/d0892bb347f78f22c309e07ce66d3254ad1a6f9b/application-ai-llm-models/application-ai-llm-models-ui/src/main/resources/AI/Code/ChatWidgetConfig.xml#L534