chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Command Persistent Issue when "button":True attribute is not passed in command definition

Open kumarprashant4u opened this issue 7 months ago • 0 comments
trafficstars

Describe the bug

"persistent": True, "button": True - This works well and the command is persisted for all future conversation in same chat and new chat.

But "persistent": True without "button":True works only for only 1 additional question and then command gets unselected on its own.

To Reproduce Steps to reproduce the behavior:

Click on a command button or select a command using slash [ / ] option and ask a question. The command is still in persisted state. Ask another question and the command gets un-selected after the second answer is displayed.

This works well with "button": True

Screenshots If applicable, add screenshots to help explain your problem.

Image

kumarprashant4u avatar Apr 17 '25 20:04 kumarprashant4u