| @@ -6,16 +6,22 @@ import { · 5 unmodified lines |
| 6 | mapCodexModelCapabilities, | 6 | mapCodexModelCapabilities, |
| 7 | } from "./CodexProvider.ts"; | 7 | } from "./CodexProvider.ts"; |
| 8 | | 8 | |
| 9 | it("keeps only the GPT-5.6 Codex family out of legacy models", () => { | 9 | it("keeps current Codex models out of legacy models", () => { |
| 10 | assert.deepStrictEqual( | 10 | assert.deepStrictEqual( |
| 11 | ["gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol", "gpt-5.4"].map((model) => [ | 11 | [ |
| 12 | model, | 12 | "gpt-5.6-luna", |
| 13 | isLegacyCodexModel(model), | 13 | "gpt-5.6-terra", |
| 14 | ]), | 14 | "gpt-5.6-sol", |
| | 15 | "gpt-daybreak-blue-latest", |
| | 16 | "gpt-daybreak-red-latest", |
| | 17 | "gpt-5.4", |
| | 18 | ].map((model) => [model, isLegacyCodexModel(model)]), |
| 15 | [ | 19 | [ |
| 16 | ["gpt-5.6-luna", false], | 20 | ["gpt-5.6-luna", false], |
| 17 | ["gpt-5.6-terra", false], | 21 | ["gpt-5.6-terra", false], |
| 18 | ["gpt-5.6-sol", false], | 22 | ["gpt-5.6-sol", false], |
| | 23 | ["gpt-daybreak-blue-latest", false], |
| | 24 | ["gpt-daybreak-red-latest", false], |
| 19 | ["gpt-5.4", true], | 25 | ["gpt-5.4", true], |
| 20 | ], | 26 | ], |
| 21 | ); | 27 | ); |