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
+9 -9
View File
@@ -656,7 +656,7 @@ describe("Prometheus direct override priority over category", () => {
},
categories: {
"test-planning": {
model: "openai/gpt-5.2",
model: "openai/gpt-5.4",
reasoningEffort: "xhigh",
},
},
@@ -698,7 +698,7 @@ describe("Prometheus direct override priority over category", () => {
},
categories: {
"reasoning-cat": {
model: "openai/gpt-5.2",
model: "openai/gpt-5.4",
reasoningEffort: "high",
},
},
@@ -739,7 +739,7 @@ describe("Prometheus direct override priority over category", () => {
},
categories: {
"temp-cat": {
model: "openai/gpt-5.2",
model: "openai/gpt-5.4",
temperature: 0.8,
},
},
@@ -860,7 +860,7 @@ describe("Plan agent model inheritance from prometheus", () => {
test("plan agent inherits temperature, reasoningEffort, and other model settings from prometheus", async () => {
//#given - prometheus configured with category that has temperature and reasoningEffort
spyOn(shared, "resolveModelPipeline" as any).mockReturnValue({
model: "openai/gpt-5.2",
model: "openai/gpt-5.4",
provenance: "override",
variant: "high",
})
@@ -871,7 +871,7 @@ describe("Plan agent model inheritance from prometheus", () => {
},
agents: {
prometheus: {
model: "openai/gpt-5.2",
model: "openai/gpt-5.4",
variant: "high",
temperature: 0.3,
top_p: 0.9,
@@ -902,7 +902,7 @@ describe("Plan agent model inheritance from prometheus", () => {
const agents = config.agent as Record<string, Record<string, unknown>>
expect(agents.plan).toBeDefined()
expect(agents.plan.mode).toBe("subagent")
expect(agents.plan.model).toBe("openai/gpt-5.2")
expect(agents.plan.model).toBe("openai/gpt-5.4")
expect(agents.plan.variant).toBe("high")
expect(agents.plan.temperature).toBe(0.3)
expect(agents.plan.top_p).toBe(0.9)
@@ -913,7 +913,7 @@ describe("Plan agent model inheritance from prometheus", () => {
})
test("plan agent user override takes priority over prometheus inherited settings", async () => {
//#given - prometheus resolves to opus, but user has plan override for gpt-5.2
//#given - prometheus resolves to opus, but user has plan override for gpt-5.4
spyOn(shared, "resolveModelPipeline" as any).mockReturnValue({
model: "anthropic/claude-opus-4-6",
provenance: "provider-fallback",
@@ -926,7 +926,7 @@ describe("Plan agent model inheritance from prometheus", () => {
},
agents: {
plan: {
model: "openai/gpt-5.2",
model: "openai/gpt-5.4",
variant: "high",
temperature: 0.5,
},
@@ -950,7 +950,7 @@ describe("Plan agent model inheritance from prometheus", () => {
//#then - plan uses its own override, not prometheus settings
const agents = config.agent as Record<string, Record<string, unknown>>
expect(agents.plan.model).toBe("openai/gpt-5.2")
expect(agents.plan.model).toBe("openai/gpt-5.4")
expect(agents.plan.variant).toBe("high")
expect(agents.plan.temperature).toBe(0.5)
})
@@ -64,7 +64,7 @@ describe("buildPlanDemoteConfig", () => {
reasoningEffort: "high",
}
const planOverride = {
model: "openai/gpt-5.2",
model: "openai/gpt-5.4",
variant: "high",
temperature: 0.5,
reasoningEffort: "low",
@@ -74,7 +74,7 @@ describe("buildPlanDemoteConfig", () => {
const result = buildPlanDemoteConfig(prometheusConfig, planOverride)
//#then
expect(result.model).toBe("openai/gpt-5.2")
expect(result.model).toBe("openai/gpt-5.4")
expect(result.variant).toBe("high")
expect(result.temperature).toBe(0.5)
expect(result.reasoningEffort).toBe("low")
@@ -89,14 +89,14 @@ describe("buildPlanDemoteConfig", () => {
reasoningEffort: "high",
}
const planOverride = {
model: "openai/gpt-5.2",
model: "openai/gpt-5.4",
}
//#when
const result = buildPlanDemoteConfig(prometheusConfig, planOverride)
//#then - plan model wins, rest inherits from prometheus
expect(result.model).toBe("openai/gpt-5.2")
expect(result.model).toBe("openai/gpt-5.4")
expect(result.variant).toBe("max")
expect(result.temperature).toBe(0.1)
expect(result.reasoningEffort).toBe("high")