Skip to content

feat: add clear conversation feature with export option#16

Open
mik-tf wants to merge 2 commits into
developmentfrom
development-enhancements
Open

feat: add clear conversation feature with export option#16
mik-tf wants to merge 2 commits into
developmentfrom
development-enhancements

Conversation

@mik-tf

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

Copy link
Copy Markdown
Contributor
  • 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

@sameh-farouk sameh-farouk left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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.

2 participants