chainlit
chainlit copied to clipboard
Command Persistent Issue when "button":True attribute is not passed in command definition
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.