diff --git a/codex-rs/protocol/src/protocol.rs b/codex-rs/protocol/src/protocol.rs index ab294ab157..bce929d214 100644 --- a/codex-rs/protocol/src/protocol.rs +++ b/codex-rs/protocol/src/protocol.rs @@ -796,9 +796,6 @@ pub enum Op { /// The raw command string after '!' command: String, }, - - /// Request the list of available models. - ListModels, } #[derive(Serialize, Deserialize, Clone, Copy, Debug, PartialEq, Eq, JsonSchema)] @@ -904,7 +901,6 @@ impl Op { Self::ApproveGuardianDeniedAction { .. } => "approve_guardian_denied_action", Self::Shutdown => "shutdown", Self::RunUserShellCommand { .. } => "run_user_shell_command", - Self::ListModels => "list_models", } } }