Lightweight coding agent that runs in your terminal
Rust
fix: ordering (#6909)
jif-oaif1d676768519
diff --git a/codex-rs/core/src/model_family.rs b/codex-rs/core/src/model_family.rsindex 725a998bed..93c12864d2 100644--- a/codex-rs/core/src/model_family.rs+++ b/codex-rs/core/src/model_family.rs@@ -187,27 +187,27 @@ pub fn find_family_for_model(slug: &str) -> Option<ModelFamily> {)// Production models.- } else if slug.starts_with("gpt-5-codex")- || slug.starts_with("gpt-5.1-codex")- || slug.starts_with("codex-")- {+ } 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_CODEX_INSTRUCTIONS.to_string(),+ base_instructions: BASE_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),)- } else if slug.starts_with("gpt-5.1-codex-max") {+ } else if slug.starts_with("gpt-5-codex")+ || slug.starts_with("gpt-5.1-codex")+ || slug.starts_with("codex-")+ {model_family!(slug, slug,supports_reasoning_summaries: true,reasoning_summary_format: ReasoningSummaryFormat::Experimental,- base_instructions: BASE_INSTRUCTIONS.to_string(),+ base_instructions: GPT_5_CODEX_INSTRUCTIONS.to_string(),apply_patch_tool_type: Some(ApplyPatchToolType::Freeform),shell_type: ConfigShellToolType::ShellCommand,supports_parallel_tool_calls: true,