From a206daa4371f06ef19f2e9ed45a9f65e7724931c Mon Sep 17 00:00:00 2001 From: "youming.tang" Date: Wed, 4 Feb 2026 15:26:02 +0900 Subject: [PATCH] test(agents): update Atlas uiSelectedModel expectation --- src/agents/utils.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agents/utils.test.ts b/src/agents/utils.test.ts index b179a47a9..493f25d25 100644 --- a/src/agents/utils.test.ts +++ b/src/agents/utils.test.ts @@ -51,7 +51,7 @@ describe("createBuiltinAgents with model overrides", () => { expect(agents.sisyphus.thinking).toBeUndefined() }) - test("Atlas uses uiSelectedModel when provided", async () => { + test("Atlas does not use uiSelectedModel (respects its own fallback chain)", async () => { // #given const fetchSpy = spyOn(shared, "fetchAvailableModels").mockResolvedValue( new Set(["openai/gpt-5.2", "anthropic/claude-sonnet-4-6"]) @@ -75,7 +75,7 @@ describe("createBuiltinAgents with model overrides", () => { // #then expect(agents.atlas).toBeDefined() - expect(agents.atlas.model).toBe("openai/gpt-5.2") + expect(agents.atlas.model).toBe("anthropic/claude-sonnet-4-5") } finally { fetchSpy.mockRestore() }