Compare commits

...
Author SHA1 Message Date
t3-code[bot] 82553a4556 fix(server): keep Daybreak Blue out of legacy models 2026-08-11 16:14:42 +00:00
2 changed files with 11 additions and 6 deletions

No files matched your search

@@ -6,16 +6,16 @@ import {
mapCodexModelCapabilities,
} from "./CodexProvider.ts";
it("keeps only the GPT-5.6 Codex family out of legacy models", () => {
it("keeps current Codex models out of legacy models", () => {
assert.deepStrictEqual(
["gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol", "gpt-5.4"].map((model) => [
model,
isLegacyCodexModel(model),
]),
["gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol", "gpt-daybreak-blue-latest", "gpt-5.4"].map(
(model) => [model, isLegacyCodexModel(model)],
),
[
["gpt-5.6-luna", false],
["gpt-5.6-terra", false],
["gpt-5.6-sol", false],
["gpt-daybreak-blue-latest", false],
["gpt-5.4", true],
],
);
@@ -62,7 +62,12 @@ const REASONING_EFFORT_LABELS: Readonly<Record<string, string>> = {
};
const DEFAULT_SERVICE_TIER_ID = "default";
const CURRENT_CODEX_MODELS = new Set(["gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]);
const CURRENT_CODEX_MODELS = new Set([
"gpt-5.6-luna",
"gpt-5.6-terra",
"gpt-5.6-sol",
"gpt-daybreak-blue-latest",
]);
export function isLegacyCodexModel(model: string): boolean {
return !CURRENT_CODEX_MODELS.has(model);