-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Assistant: to be able to remove conversations from the list of conversations #4639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @aslamplr, this would be a really nice addition to the assistant panel - I'll bring it up with the team. As a workaround, you can remove them manually by deleting the conversation files in |
@JosephTLyons do you know what the status of this feature is, or the issue with the development around removing the history from chat? whilst it can be done manually, it would also be great to not have to 😅 |
Whilst I wait for this feature to be added I ended up writing a little bash script that does it for me. It might be useful for others too 🙂 Bash is our friend! #!/bin/bash
ZED_CONVERSATIONS_DIR="/Users/[insert_user]/.config/zed/conversations"
# Check if the directory exists
if [ -d "$ZED_CONVERSATIONS_DIR" ]; then
echo "Navigating to $ZED_CONVERSATIONS_DIR"
cd "$ZED_CONVERSATIONS_DIR"
# Check if there are any .zed.json files
if ls *.zed.json 1> /dev/null 2>&1; then
echo "Removing .zed.json files..."
rm -v *.zed.json
echo "Done! All .zed.json files have been removed."
else
echo "No .zed.json files found in the conversations directory."
fi
else
echo "Error: Zed conversations directory not found at $ZED_CONVERSATIONS_DIR"
fi The chat history is saved in ".config/zed/conversations" so I just delete them all from there. The output is the following: Navigating to /Users/****/.config/zed/conversations
Removing .zed.json files...
Starting a New Conversation - 1.zed.json
Done! All .zed.json files have been removed. Here's what I did: • Create script file: • Make script executable: • Add alias to zsh config: • Reload shell config: • Run command • Restart terminal if command isn't recognised I'd be keen to have a crack at implementing this feature into Zed as a way to practice - if anyone has any tips on how to contribute to the Zed repo? I imagine the button that would be added to the UI wouldn't do anything too dissimilar to my bash script in terms of what it would do behind the scenes? Chris |
In the .config/zed/ there is no folder or file for previous conversations. Any idea where could it be stored then? |
@MrKristijan Looks like the location changed:
Related documentation: https://zed.dev/docs/assistant/contexts#saving-and-loading-contexts |
This has landed with the new agent panel launch! Going to close this out. ![]() |
Check for existing issues
Describe the feature
In assistant, the ability to remove conversation(s) from list of conversations.
If applicable, add mockups / screenshots to help present your vision of the feature
Not precisely this, but something like this or better(🤷♂️ I am no designer, so no UX expertise).

The text was updated successfully, but these errors were encountered: