@@ -187,27 +187,27 @@ pub fn find_family_for_model(slug: &str) -> Option<ModelFamily> {
187187 )
188188
189189 // Production models.
190- } else if slug. starts_with ( "gpt-5-codex" )
191- || slug. starts_with ( "gpt-5.1-codex" )
192- || slug. starts_with ( "codex-" )
193- {
190+ } else if slug. starts_with ( "gpt-5.1-codex-max" ) {
194191 model_family ! (
195192 slug, slug,
196193 supports_reasoning_summaries: true ,
197194 reasoning_summary_format: ReasoningSummaryFormat :: Experimental ,
198- base_instructions: GPT_5_CODEX_INSTRUCTIONS . to_string( ) ,
195+ base_instructions: BASE_INSTRUCTIONS . to_string( ) ,
199196 apply_patch_tool_type: Some ( ApplyPatchToolType :: Freeform ) ,
200197 shell_type: ConfigShellToolType :: ShellCommand ,
201198 supports_parallel_tool_calls: true ,
202199 support_verbosity: false ,
203200 truncation_policy: TruncationPolicy :: Tokens ( 10_000 ) ,
204201 )
205- } else if slug. starts_with ( "gpt-5.1-codex-max" ) {
202+ } else if slug. starts_with ( "gpt-5-codex" )
203+ || slug. starts_with ( "gpt-5.1-codex" )
204+ || slug. starts_with ( "codex-" )
205+ {
206206 model_family ! (
207207 slug, slug,
208208 supports_reasoning_summaries: true ,
209209 reasoning_summary_format: ReasoningSummaryFormat :: Experimental ,
210- base_instructions: BASE_INSTRUCTIONS . to_string( ) ,
210+ base_instructions: GPT_5_CODEX_INSTRUCTIONS . to_string( ) ,
211211 apply_patch_tool_type: Some ( ApplyPatchToolType :: Freeform ) ,
212212 shell_type: ConfigShellToolType :: ShellCommand ,
213213 supports_parallel_tool_calls: true ,
0 commit comments