chore: update GPT-5.2 references to GPT-5.4

Align runtime defaults, tests, docs, and generated artifacts with the newer GPT-5.4 baseline. Keep think-mode and prompt-routing expectations consistent after the model version bump.
This commit is contained in:
YeonGyu-Kim
2026-03-07 02:33:32 +09:00
parent d6d1f998d4
commit ea2585e01a
62 changed files with 478 additions and 479 deletions
+8 -8
View File
@@ -266,7 +266,7 @@ describe("AgentOverrideConfigSchema", () => {
describe("backward compatibility", () => {
test("still accepts model field (deprecated)", () => {
// given
const config = { model: "openai/gpt-5.2" }
const config = { model: "openai/gpt-5.4" }
// when
const result = AgentOverrideConfigSchema.safeParse(config)
@@ -274,14 +274,14 @@ describe("AgentOverrideConfigSchema", () => {
// then
expect(result.success).toBe(true)
if (result.success) {
expect(result.data.model).toBe("openai/gpt-5.2")
expect(result.data.model).toBe("openai/gpt-5.4")
}
})
test("accepts both model and category (deprecated usage)", () => {
// given - category should take precedence at runtime, but both should validate
const config = {
model: "openai/gpt-5.2",
model: "openai/gpt-5.4",
category: "ultrabrain"
}
@@ -291,7 +291,7 @@ describe("AgentOverrideConfigSchema", () => {
// then
expect(result.success).toBe(true)
if (result.success) {
expect(result.data.model).toBe("openai/gpt-5.2")
expect(result.data.model).toBe("openai/gpt-5.4")
expect(result.data.category).toBe("ultrabrain")
}
})
@@ -343,7 +343,7 @@ describe("AgentOverrideConfigSchema", () => {
describe("CategoryConfigSchema", () => {
test("accepts variant as optional string", () => {
// given
const config = { model: "openai/gpt-5.2", variant: "xhigh" }
const config = { model: "openai/gpt-5.4", variant: "xhigh" }
// when
const result = CategoryConfigSchema.safeParse(config)
@@ -371,7 +371,7 @@ describe("CategoryConfigSchema", () => {
test("rejects non-string variant", () => {
// given
const config = { model: "openai/gpt-5.2", variant: 123 }
const config = { model: "openai/gpt-5.4", variant: 123 }
// when
const result = CategoryConfigSchema.safeParse(config)
@@ -413,7 +413,7 @@ describe("Sisyphus-Junior agent override", () => {
const config = {
agents: {
"sisyphus-junior": {
model: "openai/gpt-5.2",
model: "openai/gpt-5.4",
temperature: 0.2,
},
},
@@ -426,7 +426,7 @@ describe("Sisyphus-Junior agent override", () => {
expect(result.success).toBe(true)
if (result.success) {
expect(result.data.agents?.["sisyphus-junior"]).toBeDefined()
expect(result.data.agents?.["sisyphus-junior"]?.model).toBe("openai/gpt-5.2")
expect(result.data.agents?.["sisyphus-junior"]?.model).toBe("openai/gpt-5.4")
expect(result.data.agents?.["sisyphus-junior"]?.temperature).toBe(0.2)
}
})