revert /name for now (#4978)
There was a regression where we'd read entire rollout contents if there was no /name present.
This commit is contained in:
@@ -15,7 +15,6 @@ pub enum SlashCommand {
|
||||
Model,
|
||||
Approvals,
|
||||
Review,
|
||||
Name,
|
||||
New,
|
||||
Init,
|
||||
Compact,
|
||||
@@ -34,7 +33,6 @@ impl SlashCommand {
|
||||
/// User-visible description shown in the popup.
|
||||
pub fn description(self) -> &'static str {
|
||||
match self {
|
||||
SlashCommand::Name => "set a name for this chat",
|
||||
SlashCommand::New => "start a new chat during a conversation",
|
||||
SlashCommand::Init => "create an AGENTS.md file with instructions for Codex",
|
||||
SlashCommand::Compact => "summarize conversation to prevent hitting the context limit",
|
||||
@@ -62,8 +60,6 @@ impl SlashCommand {
|
||||
/// Whether this command can be run while a task is in progress.
|
||||
pub fn available_during_task(self) -> bool {
|
||||
match self {
|
||||
// Naming is a local UI action; allow during tasks.
|
||||
SlashCommand::Name => true,
|
||||
SlashCommand::New
|
||||
| SlashCommand::Init
|
||||
| SlashCommand::Compact
|
||||
|
||||
Reference in New Issue
Block a user