diff --git a/codex-rs/core/src/tools/spec.rs b/codex-rs/core/src/tools/spec.rs index a56bddb1ab..29f00c59a7 100644 --- a/codex-rs/core/src/tools/spec.rs +++ b/codex-rs/core/src/tools/spec.rs @@ -50,6 +50,8 @@ impl ToolsConfig { let shell_type = if features.enabled(Feature::UnifiedExec) { ConfigShellToolType::UnifiedExec + } else if features.enabled(Feature::ShellCommandTool) { + ConfigShellToolType::ShellCommand } else { model_family.shell_type.clone() };