chainlit
chainlit copied to clipboard
Feedback is not restored on chat resume
trafficstars
Describe the bug When resuming a thread, the feedback buttons show empty even if feedback has been previously provided for a message.
To Reproduce Create a simple Chainlit application with data persistence and chat resume enabled.
- Type a message and wait for the answer. Give a feedback to that answer.
- Create a new conversation.
- Open the previous conversation. The message you've just given feedback to looks like no feedback has been provided for it previously.
Expected behavior The feedback component should maintain the state it had before "ending" the conversation.
Desktop:
- OS: Windows 11
- Browser: Microsoft Edge
- Version: 134.0.3124.93
Additional context It looks like even if chat resume is not enabled, the feedback component still doesn't keep its state.