Add gpt-5.1 model definitions (#6551)

This commit is contained in:
pakrym-oai
2025-11-12 12:44:36 -08:00
committed by GitHub
parent ad09c138b9
commit ec69a4a810
6 changed files with 385 additions and 2 deletions

View File

@@ -421,6 +421,10 @@ mod tests {
slug: "gpt-5",
expects_apply_patch_instructions: true,
},
InstructionsTestCase {
slug: "gpt-5.1",
expects_apply_patch_instructions: false,
},
InstructionsTestCase {
slug: "codex-mini-latest",
expects_apply_patch_instructions: true,
@@ -433,6 +437,10 @@ mod tests {
slug: "gpt-5-codex",
expects_apply_patch_instructions: false,
},
InstructionsTestCase {
slug: "gpt-5.1-codex",
expects_apply_patch_instructions: false,
},
];
for test_case in test_cases {
let model_family = find_family_for_model(test_case.slug).expect("known model slug");