test: fix stale expectations after gpt-5.5 model promotion

Updates test expectations across agent, cli, shared, plugin, and tools tests

to match gpt-5.5 as the new default for oracle, hephaestus, and deep agents.

Includes snapshot updates for model-fallback tests.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-24 16:17:44 +09:00
parent 6b46b9b4be
commit 708891dabe
11 changed files with 129 additions and 132 deletions
+6 -6
View File
@@ -461,11 +461,11 @@ describe("generateModelConfig", () => {
const result = generateModelConfig(config)
// #then
expect(result.agents?.hephaestus?.model).toBe("openai/gpt-5.4")
expect(result.agents?.hephaestus?.model).toBe("openai/gpt-5.5")
expect(result.agents?.hephaestus?.variant).toBe("medium")
})
test("Hephaestus falls back to Copilot GPT-5.4 when only Copilot is available", () => {
test("Hephaestus falls back to Copilot GPT-5.5 when only Copilot is available", () => {
// #given
const config = createConfig({ hasCopilot: true })
@@ -474,7 +474,7 @@ describe("generateModelConfig", () => {
// #then
expect(result.agents?.hephaestus).toEqual({
model: "github-copilot/gpt-5.4",
model: "github-copilot/gpt-5.5",
variant: "medium",
})
})
@@ -487,7 +487,7 @@ describe("generateModelConfig", () => {
const result = generateModelConfig(config)
// #then
expect(result.agents?.hephaestus?.model).toBe("opencode/gpt-5.4")
expect(result.agents?.hephaestus?.model).toBe("opencode/gpt-5.5")
expect(result.agents?.hephaestus?.variant).toBe("medium")
})
@@ -656,8 +656,8 @@ describe("generateModelConfig", () => {
// #when generateModelConfig is called
const result = generateModelConfig(config)
// #then hephaestus should be created with gateway-routed gpt-5.4
expect(result.agents?.hephaestus?.model).toBe("vercel/openai/gpt-5.4")
// #then hephaestus should be created with gateway-routed gpt-5.5
expect(result.agents?.hephaestus?.model).toBe("vercel/openai/gpt-5.5")
})
test("native providers take priority over gateway", () => {