langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Delete messages on Playground chat isn't working

Open Cristhianzl opened this issue 1 year ago • 1 comments

Bug Description

When deleting messages from the chat, the action is only reflected on the UI and does not persist in the backend. Here’s a quick way to see this issue:

Reproduction

  1. Add a random flow.

  2. Run the flow.

  3. Interact with the chat in the playground.

  4. Click the erase button to delete some messages.

  5. Send new messages in the chat.

Expected behavior

You'll notice that the last messages you sent before deleting will reappear.

Who can help?

@Cristhianzl

Operating System

MacOS

Langflow Version

1.0.13

Python Version

None

Screenshot

No response

Flow File

No response

Cristhianzl avatar Jul 29 '24 18:07 Cristhianzl

@Cristhianzl isn't this supposed to work in this way? I thought to actually delete the history you need to open the memory (on the left) and select the messages you want to be deleted

nicoloboschi avatar Jul 30 '24 08:07 nicoloboschi

Hi @nicoloboschi,

Sorry, I have already fixed this error and forgot to link the fix here and close the issue. Thank you!!

Cristhianzl avatar Jul 31 '24 01:07 Cristhianzl