epam / ai-dial-chat

A default UI for AI DIAL
https://chat.lab.epam.com
Apache License 2.0
57 stars 24 forks source link

Regression [Replay] The chat is replayed from the beginning though stop replaying was pressed in the middle of the conversation #1784

Closed VolhaBazhkova closed 1 month ago

VolhaBazhkova commented 1 month ago

EPAM AI DIAL chat version

0.15.0

What happened?

Preparation:

Create a chat with two messages (at least) Create [Replay] chat from the 1st step

Steps:

  1. Open [Replay] chat
  2. Click on "Start replay"
  3. Click on "Stop generating" when the 2nd response is generating
  4. Check the button icon and tooltip
  5. Continue replaying the chat -> the chat replays from the first message -> bug so the first message appears two times in a row.

Expected result: the chat should continue replaying from the message it has been stopped.

Issue2: Could you please also fix another issue in this ticket: When user stops replaying the chat. regenerate button presents in the last model response -> bug. No need to show Regenerate response button whike the chat is in Replay mode

Confidential information

VolhaBazhkova commented 1 month ago

Verified on staging env successfully. The auto-test is enabled.