Skip to content

Conversation

@mik-tf
Copy link
Contributor

@mik-tf mik-tf commented Dec 21, 2025

  • Add clear conversation button in header controls
  • Implement clear conversation modal with Save and Clear / Clear / Cancel options
  • Add clear conversation functions to ChatInterface component
  • Update documentation to include clearing conversations section
  • Clear button disabled when no messages present
  • Maintains tool approval functionality alongside clear feature
  • Closes feat: add delete function with clear messages, and docs enhancement #12

mik-tf and others added 2 commits December 21, 2025 11:47
- Add clear conversation button in header controls
- Implement clear conversation modal with Save and Clear / Clear / Cancel options
- Add clear conversation functions to ChatInterface component
- Update documentation to include clearing conversations section
- Clear button disabled when no messages present
- Maintains tool approval functionality alongside clear feature
Copy link
Member

@sameh-farouk sameh-farouk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand that you intend to offer the user a way to begin a new conversation.

The current "Clear Conversation" feature only clears the frontend messagesStore (what the user can see). We need to ensure the backend agent's history (what the agent can see) is also cleared to prevent context carry-over.

Also, I think ‘New Conversation’ emphasizes the user’s intent (starting fresh) rather than the mechanism (clearing).

@sameh-farouk
Copy link
Member

I pushed a commit that includes my proposed changes. Please double-check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants