Skip to content

[BUG] Deleted messages in agent conversations are retained in context and history #2222

@SamvelSimonyan

Description

@SamvelSimonyan

Steps to reproduce:

  1. Navigate to the agent interface.
  2. Delete a user message or an AI response from the conversation.
  3. Ask a question that references the deleted context.
  4. Observe the agent's history for the deleted messages.

Actual results:

  • The deleted messages are retained in the context and are still visible in the agent's history.
2025-10-17_10h27_37.mp4
Image

Expected results:

  • Deleted messages should be removed from both the context and the agent's history, ensuring they do not influence subsequent interactions.

Other info
The issue is not reproduced in chat-conversations

Metadata

Metadata

Labels

ChatTo group issues regarding Chat functionality

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions