diff --git a/src/agents/utils.test.ts b/src/agents/utils.test.ts index 74e1145b3..192fec2dd 100644 --- a/src/agents/utils.test.ts +++ b/src/agents/utils.test.ts @@ -1016,7 +1016,7 @@ describe("createBuiltinAgents with requiresAnyModel gating (sisyphus)", () => { test("atlas and metis resolve to OpenAI in an OpenAI-only environment without a system default", async () => { // #given - const fetchSpy = spyOn(shared, "fetchAvailableModels").mockResolvedValue(new Set(["openai/gpt-5.4"])) + const fetchSpy = spyOn(shared, "fetchAvailableModels").mockResolvedValue(new Set(["openai/gpt-5.5"])) const cacheSpy = spyOn(connectedProvidersCache, "readConnectedProvidersCache").mockReturnValue(["openai"]) try { @@ -1025,10 +1025,10 @@ describe("createBuiltinAgents with requiresAnyModel gating (sisyphus)", () => { // #then expect(agents.atlas).toBeDefined() - expect(agents.atlas.model).toBe("openai/gpt-5.4") + expect(agents.atlas.model).toBe("openai/gpt-5.5") expect(agents.atlas.variant).toBe("medium") expect(agents.metis).toBeDefined() - expect(agents.metis.model).toBe("openai/gpt-5.4") + expect(agents.metis.model).toBe("openai/gpt-5.5") expect(agents.metis.variant).toBe("high") } finally { fetchSpy.mockRestore() @@ -1185,7 +1185,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.4") + expect(agent.model).toBe("openai/gpt-5.5") expect(agent.variant).toBe("xhigh") expect(agent.prompt).toContain("Role: Designer-Turned-Developer") expect(agent.prompt).toContain("Task description") @@ -1309,9 +1309,9 @@ describe("override.category expansion in createBuiltinAgents", () => { // #when const agents = await createBuiltinAgents([], overrides, undefined, TEST_DEFAULT_MODEL) - // #then - ultrabrain category: model=openai/gpt-5.4, variant=xhigh + // #then - ultrabrain category: model=openai/gpt-5.5, variant=xhigh expect(agents.oracle).toBeDefined() - expect(agents.oracle.model).toBe("openai/gpt-5.4") + expect(agents.oracle.model).toBe("openai/gpt-5.5") expect(agents.oracle.variant).toBe("xhigh") }) @@ -1378,9 +1378,9 @@ describe("override.category expansion in createBuiltinAgents", () => { // #when const agents = await createBuiltinAgents([], overrides, undefined, TEST_DEFAULT_MODEL) - // #then - ultrabrain category: model=openai/gpt-5.4, variant=xhigh + // #then - ultrabrain category: model=openai/gpt-5.5, variant=xhigh expect(agents.sisyphus).toBeDefined() - expect(agents.sisyphus.model).toBe("openai/gpt-5.4") + expect(agents.sisyphus.model).toBe("openai/gpt-5.5") expect(agents.sisyphus.variant).toBe("xhigh") }) @@ -1393,9 +1393,9 @@ describe("override.category expansion in createBuiltinAgents", () => { // #when const agents = await createBuiltinAgents([], overrides, undefined, TEST_DEFAULT_MODEL) - // #then - ultrabrain category: model=openai/gpt-5.4, variant=xhigh + // #then - ultrabrain category: model=openai/gpt-5.5, variant=xhigh expect(agents.atlas).toBeDefined() - expect(agents.atlas.model).toBe("openai/gpt-5.4") + expect(agents.atlas.model).toBe("openai/gpt-5.5") expect(agents.atlas.variant).toBe("xhigh") }) diff --git a/src/cli/config-manager/generate-omo-config.test.ts b/src/cli/config-manager/generate-omo-config.test.ts index bebf2f94a..3e4f9aa86 100644 --- a/src/cli/config-manager/generate-omo-config.test.ts +++ b/src/cli/config-manager/generate-omo-config.test.ts @@ -96,10 +96,10 @@ describe("generateOmoConfig - model fallback system", () => { const result = generateOmoConfig(config) //#then - expect((result.agents as Record).sisyphus.model).toBe("openai/gpt-5.4") + expect((result.agents as Record).sisyphus.model).toBe("openai/gpt-5.5") expect((result.agents as Record).sisyphus.variant).toBe("medium") expect((result.agents as Record).oracle.model).toBe("openai/gpt-5.5") - expect((result.agents as Record)['multimodal-looker'].model).toBe("openai/gpt-5.4") + expect((result.agents as Record)['multimodal-looker'].model).toBe("openai/gpt-5.5") }) test("adds fallback_models when multiple providers are available", () => { @@ -134,7 +134,7 @@ describe("generateOmoConfig - model fallback system", () => { expect(agents.sisyphus.model).toBe("anthropic/claude-opus-4-7") expect(agents.sisyphus.fallback_models).toEqual([ { - model: "openai/gpt-5.4", + model: "openai/gpt-5.5", variant: "medium", }, ]) diff --git a/src/plugin-handlers/config-handler.test.ts b/src/plugin-handlers/config-handler.test.ts index 344dba4c3..0c4ea1cea 100644 --- a/src/plugin-handlers/config-handler.test.ts +++ b/src/plugin-handlers/config-handler.test.ts @@ -750,7 +750,7 @@ describe("Prometheus category config resolution", () => { // then expect(config).toBeDefined() - expect(config?.model).toBe("openai/gpt-5.4") + expect(config?.model).toBe("openai/gpt-5.5") expect(config?.variant).toBe("xhigh") }) @@ -810,7 +810,7 @@ describe("Prometheus category config resolution", () => { // then - falls back to DEFAULT_CATEGORIES expect(config).toBeDefined() - expect(config?.model).toBe("openai/gpt-5.4") + expect(config?.model).toBe("openai/gpt-5.5") expect(config?.variant).toBe("xhigh") }) diff --git a/src/shared/agent-variant.test.ts b/src/shared/agent-variant.test.ts index 963b6c3e6..748743041 100644 --- a/src/shared/agent-variant.test.ts +++ b/src/shared/agent-variant.test.ts @@ -124,10 +124,10 @@ describe("resolveVariantForModel", () => { expect(variant).toBe("medium") }) - test("returns medium for openai/gpt-5.4 in sisyphus chain", () => { - // #given openai/gpt-5.4 is now in sisyphus fallback chain with variant medium + test("returns medium for openai/gpt-5.5 in sisyphus chain", () => { + // #given openai/gpt-5.5 is now in sisyphus fallback chain with variant medium const config = {} as OhMyOpenCodeConfig - const model = { providerID: "openai", modelID: "gpt-5.4" } + const model = { providerID: "openai", modelID: "gpt-5.5" } // when const variant = resolveVariantForModel(config, "sisyphus", model) @@ -179,7 +179,7 @@ describe("resolveVariantForModel", () => { "custom-agent": { category: "ultrabrain" }, }, } as OhMyOpenCodeConfig - const model = { providerID: "openai", modelID: "gpt-5.4" } + const model = { providerID: "openai", modelID: "gpt-5.5" } // when const variant = resolveVariantForModel(config, "custom-agent", model) diff --git a/src/shared/model-capability-guardrails.test.ts b/src/shared/model-capability-guardrails.test.ts index 63ff3aab2..3c818850a 100644 --- a/src/shared/model-capability-guardrails.test.ts +++ b/src/shared/model-capability-guardrails.test.ts @@ -20,7 +20,7 @@ describe("model-capability-guardrails", () => { expect(modelIDs).toEqual([...modelIDs].sort()) expect(new Set(modelIDs).size).toBe(modelIDs.length) expect(modelIDs).toContain("claude-opus-4-7") - expect(modelIDs).toContain("gpt-5.4") + expect(modelIDs).toContain("gpt-5.5") expect(modelIDs).toContain("kimi-k2.5") }) diff --git a/src/tools/look-at/multimodal-fallback-chain.test.ts b/src/tools/look-at/multimodal-fallback-chain.test.ts index 4d614d070..c57fb524c 100644 --- a/src/tools/look-at/multimodal-fallback-chain.test.ts +++ b/src/tools/look-at/multimodal-fallback-chain.test.ts @@ -34,7 +34,7 @@ describe("buildMultimodalLookerFallbackChain", () => { it("preserves hardcoded variant metadata for cache-derived entries", async () => { // given const { buildMultimodalLookerFallbackChain } = await import("./multimodal-fallback-chain") - const visionCapableModels = [{ providerID: "openai", modelID: "gpt-5.4" }] + const visionCapableModels = [{ providerID: "openai", modelID: "gpt-5.5" }] // when const result = buildMultimodalLookerFallbackChain(visionCapableModels) @@ -42,7 +42,7 @@ describe("buildMultimodalLookerFallbackChain", () => { // then expect(result[0]).toEqual({ providers: ["openai"], - model: "gpt-5.4", + model: "gpt-5.5", variant: "medium", }) })