From 2d6be11fa06d18f0edb2d90d4e512c81e85b5db6 Mon Sep 17 00:00:00 2001 From: acamq <179265037+acamq@users.noreply.github.com> Date: Wed, 11 Mar 2026 15:18:29 -0600 Subject: [PATCH] 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) --- src/agents/utils.test.ts | 14 +++++++------- src/plugin-handlers/config-handler.test.ts | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/agents/utils.test.ts b/src/agents/utils.test.ts index 645e0edc0..87d6db761 100644 --- a/src/agents/utils.test.ts +++ b/src/agents/utils.test.ts @@ -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") }) diff --git a/src/plugin-handlers/config-handler.test.ts b/src/plugin-handlers/config-handler.test.ts index 6da6dd9b7..c3e7a91d8 100644 --- a/src/plugin-handlers/config-handler.test.ts +++ b/src/plugin-handlers/config-handler.test.ts @@ -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") })