Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Fix ordering 2 (#6910)

jif-oai8976551f0dad
diff --git a/codex-rs/core/src/model_family.rs b/codex-rs/core/src/model_family.rs
index 93c12864d2..5c5045fe44 100644
--- a/codex-rs/core/src/model_family.rs
+++ b/codex-rs/core/src/model_family.rs
@@ -173,18 +173,6 @@ pub fn find_family_for_model(slug: &str) -> Option<ModelFamily> {
support_verbosity: true,
truncation_policy: TruncationPolicy::Tokens(10_000),
)
- } else if slug.starts_with("gpt-5.1-codex-max") {
- model_family!(
- slug, slug,
- supports_reasoning_summaries: true,
- reasoning_summary_format: ReasoningSummaryFormat::Experimental,
- base_instructions: GPT_5_1_CODEX_MAX_INSTRUCTIONS.to_string(),
- apply_patch_tool_type: Some(ApplyPatchToolType::Freeform),
- shell_type: ConfigShellToolType::ShellCommand,
- supports_parallel_tool_calls: true,
- support_verbosity: false,
- truncation_policy: TruncationPolicy::Tokens(10_000),
- )
// Production models.
} else if slug.starts_with("gpt-5.1-codex-max") {