test: update ultrabrain model expectations to gpt-5.4

The DEFAULT_CATEGORIES ultrabrain model was updated from openai/gpt-5.3-codex
to openai/gpt-5.4 in a previous commit, but test expectations were not updated.

Updated test expectations in:
- src/plugin-handlers/config-handler.test.ts (lines 560, 620)
- src/agents/utils.test.ts (lines 1119, 1232, 1234, 1301, 1303, 1316, 1318)
This commit is contained in:
acamq
2026-03-11 15:18:29 -06:00
parent 5f419b7d9d
commit 2d6be11fa0
2 changed files with 9 additions and 9 deletions
+7 -7
View File
@@ -1116,7 +1116,7 @@ describe("buildAgent with category and skills", () => {
const agent = buildAgent(source["test-agent"], TEST_MODEL)
// #then - category's built-in model and skills are applied
expect(agent.model).toBe("openai/gpt-5.3-codex")
expect(agent.model).toBe("openai/gpt-5.4")
expect(agent.variant).toBe("xhigh")
expect(agent.prompt).toContain("Role: Designer-Turned-Developer")
expect(agent.prompt).toContain("Task description")
@@ -1229,9 +1229,9 @@ describe("override.category expansion in createBuiltinAgents", () => {
// #when
const agents = await createBuiltinAgents([], overrides, undefined, TEST_DEFAULT_MODEL)
// #then - ultrabrain category: model=openai/gpt-5.3-codex, variant=xhigh
// #then - ultrabrain category: model=openai/gpt-5.4, variant=xhigh
expect(agents.oracle).toBeDefined()
expect(agents.oracle.model).toBe("openai/gpt-5.3-codex")
expect(agents.oracle.model).toBe("openai/gpt-5.4")
expect(agents.oracle.variant).toBe("xhigh")
})
@@ -1298,9 +1298,9 @@ describe("override.category expansion in createBuiltinAgents", () => {
// #when
const agents = await createBuiltinAgents([], overrides, undefined, TEST_DEFAULT_MODEL)
// #then - ultrabrain category: model=openai/gpt-5.3-codex, variant=xhigh
// #then - ultrabrain category: model=openai/gpt-5.4, variant=xhigh
expect(agents.sisyphus).toBeDefined()
expect(agents.sisyphus.model).toBe("openai/gpt-5.3-codex")
expect(agents.sisyphus.model).toBe("openai/gpt-5.4")
expect(agents.sisyphus.variant).toBe("xhigh")
})
@@ -1313,9 +1313,9 @@ describe("override.category expansion in createBuiltinAgents", () => {
// #when
const agents = await createBuiltinAgents([], overrides, undefined, TEST_DEFAULT_MODEL)
// #then - ultrabrain category: model=openai/gpt-5.3-codex, variant=xhigh
// #then - ultrabrain category: model=openai/gpt-5.4, variant=xhigh
expect(agents.atlas).toBeDefined()
expect(agents.atlas.model).toBe("openai/gpt-5.3-codex")
expect(agents.atlas.model).toBe("openai/gpt-5.4")
expect(agents.atlas.variant).toBe("xhigh")
})
+2 -2
View File
@@ -557,7 +557,7 @@ describe("Prometheus category config resolution", () => {
// then
expect(config).toBeDefined()
expect(config?.model).toBe("openai/gpt-5.3-codex")
expect(config?.model).toBe("openai/gpt-5.4")
expect(config?.variant).toBe("xhigh")
})
@@ -617,7 +617,7 @@ describe("Prometheus category config resolution", () => {
// then - falls back to DEFAULT_CATEGORIES
expect(config).toBeDefined()
expect(config?.model).toBe("openai/gpt-5.3-codex")
expect(config?.model).toBe("openai/gpt-5.4")
expect(config?.variant).toBe("xhigh")
})