diff --git a/crates/assistant/src/slash_command/delta_command.rs b/crates/assistant/src/slash_command/delta_command.rs index a37d33e2af..c9985d9f00 100644 --- a/crates/assistant/src/slash_command/delta_command.rs +++ b/crates/assistant/src/slash_command/delta_command.rs @@ -1,5 +1,5 @@ use crate::slash_command::file_command::{FileCommandMetadata, FileSlashCommand}; -use anyhow::Result; +use anyhow::{anyhow, Result}; use assistant_slash_command::{ ArgumentCompletion, SlashCommand, SlashCommandOutput, SlashCommandOutputSection, SlashCommandResult, @@ -38,7 +38,7 @@ impl SlashCommand for DeltaSlashCommand { _workspace: Option>, _cx: &mut WindowContext, ) -> Task>> { - unimplemented!() + Task::ready(Err(anyhow!("this command does not require argument"))) } fn run(