Skip to content

fix: /delete command now properly deletes conversations#2844

Open
Devthatdoes wants to merge 2 commits intoantinomyhq:mainfrom
Devthatdoes:fix/delete-command-silent-failure
Open

fix: /delete command now properly deletes conversations#2844
Devthatdoes wants to merge 2 commits intoantinomyhq:mainfrom
Devthatdoes:fix/delete-command-silent-failure

Conversation

@Devthatdoes
Copy link
Copy Markdown

  • Add missing /delete match arm in the slash command parser (model.rs)
  • Validate active conversation exists before attempting deletion (ui.rs)
  • Prevent init_conversation from creating a new conversati on just to delete it

Fixes #2843

- Add missing /delete match arm in the slash command parser (model.rs)
- Validate active conversation exists before attempting deletion (ui.rs)
- Prevent init_conversation from creating a new conversati
  on just to delete it

Fixes antinomyhq#2843
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 4, 2026

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the type: fix Iterations on existing features or infrastructure. label Apr 4, 2026
}
Ok(SlashCommand::Rename(name))
}
"/delete" => Ok(SlashCommand::Delete),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Lets expose this via zsh also :delete and :conversation-delete

.conversation_id
.ok_or_else(|| anyhow::anyhow!("No active conversation to delete. Start a conversation first."))?;

self.validate_conversation_exists(&conversation_id).await?;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Delete should take a parameter so that we can delete any conversation by id.

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

Labels

type: fix Iterations on existing features or infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: /delete command runs silently without effect in VS Code extension

3 participants