@@ -220,22 +220,18 @@ pub fn find_family_for_model(slug: &str) -> ModelFamily {
220220 truncation_policy: TruncationPolicy :: Tokens ( 10_000 ) ,
221221 )
222222
223- // Internal models.
224- } else if slug. starts_with ( "codex-exp-" ) {
223+ // Experimental models.
224+ } else if slug. starts_with ( "exp-codex" ) {
225+ // Same as gpt-5.1-codex-max.
225226 model_family ! (
226227 slug, slug,
227228 supports_reasoning_summaries: true ,
228229 reasoning_summary_format: ReasoningSummaryFormat :: Experimental ,
229- base_instructions: GPT_5_CODEX_INSTRUCTIONS . to_string( ) ,
230+ base_instructions: GPT_5_1_CODEX_MAX_INSTRUCTIONS . to_string( ) ,
230231 apply_patch_tool_type: Some ( ApplyPatchToolType :: Freeform ) ,
231- experimental_supported_tools: vec![
232- "grep_files" . to_string( ) ,
233- "list_dir" . to_string( ) ,
234- "read_file" . to_string( ) ,
235- ] ,
236232 shell_type: ConfigShellToolType :: ShellCommand ,
237233 supports_parallel_tool_calls: true ,
238- support_verbosity: true ,
234+ support_verbosity: false ,
239235 truncation_policy: TruncationPolicy :: Tokens ( 10_000 ) ,
240236 context_window: Some ( CONTEXT_WINDOW_272K ) ,
241237 )
0 commit comments