Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Promote image_detail_original to experimental (#16957)

Curtis 'Fjord' Hawthorned2df7c54b29a
diff --git a/codex-rs/features/src/lib.rs b/codex-rs/features/src/lib.rs
index 959268b61c..b022243fd2 100644
--- a/codex-rs/features/src/lib.rs
+++ b/codex-rs/features/src/lib.rs
@@ -640,7 +640,11 @@ pub const FEATURES: &[FeatureSpec] = &[
FeatureSpec {
id: Feature::ImageDetailOriginal,
key: "image_detail_original",
- stage: Stage::UnderDevelopment,
+ stage: Stage::Experimental {
+ name: "Original image detail",
+ menu_description: "Let the model inspect tool-emitted images at full resolution on supported models instead of a resized approximation. This affects tool-emitted images such as those produced by `view_image`, not images attached directly in the UI. It is particularly important for localization and precise UI targeting, for reading small text, and for reasoning about precise layout.",
+ announcement: "NEW: Original image detail is now available in /experimental. Enable it to let tools request full-resolution image detail on supported models for CUA and localization tasks.",
+ },
default_enabled: false,
},
FeatureSpec {
diff --git a/codex-rs/features/src/tests.rs b/codex-rs/features/src/tests.rs
index 3f4a370cb2..9df9d78ba7 100644
--- a/codex-rs/features/src/tests.rs
+++ b/codex-rs/features/src/tests.rs
@@ -156,15 +156,6 @@ fn tool_call_mcp_elicitation_is_stable_and_enabled_by_default() {
assert_eq!(Feature::ToolCallMcpElicitation.default_enabled(), true);
}
-#[test]
-fn image_detail_original_feature_is_under_development() {
- assert_eq!(
- Feature::ImageDetailOriginal.stage(),
- Stage::UnderDevelopment
- );
- assert_eq!(Feature::ImageDetailOriginal.default_enabled(), false);
-}
-
#[test]
fn remote_control_is_under_development() {
assert_eq!(Feature::RemoteControl.stage(), Stage::UnderDevelopment);