chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Feedback is not restored on chat resume

Open vio-p opened this issue 7 months ago • 0 comments
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.

  1. Type a message and wait for the answer. Give a feedback to that answer.
  2. Create a new conversation.
  3. 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.

vio-p avatar Apr 02 '25 07:04 vio-p