assistant: Remove /auto (#27608)

This PR removes the `/auto` command.

This was feature-flagged and was never released to the general public.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-03-27 13:23:32 -04:00 committed by GitHub
parent 3f7c8c97c2
commit cc6d4e3c62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 3 additions and 464 deletions

View file

@ -242,18 +242,6 @@ fn register_slash_commands(prompt_builder: Option<Arc<PromptBuilder>>, cx: &mut
.detach();
}
cx.observe_flag::<assistant_slash_commands::AutoSlashCommandFeatureFlag, _>({
let slash_command_registry = slash_command_registry.clone();
move |is_enabled, _cx| {
if is_enabled {
// [#auto-staff-ship] TODO remove this when /auto is no longer staff-shipped
slash_command_registry
.register_command(assistant_slash_commands::AutoCommand, true);
}
}
})
.detach();
cx.observe_flag::<assistant_slash_commands::StreamingExampleSlashCommandFeatureFlag, _>({
let slash_command_registry = slash_command_registry.clone();
move |is_enabled, _cx| {