Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Enable code mode interruption by default (#51835)

Won Park72c959528ee4
diff --git a/codex-rs/core/tests/suite/code_mode.rs b/codex-rs/core/tests/suite/code_mode.rs
index 2b82def2b0..9b0a4a89a5 100644
--- a/codex-rs/core/tests/suite/code_mode.rs
+++ b/codex-rs/core/tests/suite/code_mode.rs
@@ -6015,7 +6015,6 @@ async fn code_mode_interrupt_terminates_active_cells_and_nested_tools() -> Resul
.with_extensions(Arc::new(extensions.build()))
.with_config(|config| {
let _ = config.features.enable(Feature::CodeMode);
- let _ = config.features.enable(Feature::CodeModeInterrupt);
let _ = config.features.enable(Feature::ExecutedToolCallMetadata);
});
let test = builder.build_with_auto_env(&server).await?;
diff --git a/codex-rs/features/src/lib.rs b/codex-rs/features/src/lib.rs
index 6589458490..f9147628f0 100644
--- a/codex-rs/features/src/lib.rs
+++ b/codex-rs/features/src/lib.rs
@@ -1154,8 +1154,8 @@ pub const FEATURES: &[FeatureSpec] = &[
FeatureSpec {
id: Feature::CodeModeInterrupt,
key: "code_mode_interrupt",
- stage: Stage::UnderDevelopment,
- default_enabled: false,
+ stage: Stage::Stable,
+ default_enabled: true,
},
FeatureSpec {
id: Feature::CodeModeToolDescriptionFirst,