From f8be01c6dd661bde30f8d972abfd770c40be090e Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Fri, 30 Jan 2026 16:16:04 +0900 Subject: [PATCH] test: update Atlas fallback test and misc code improvements - Update Atlas fallback test to expect k2p5 as primary (kimi-for-coding) - Minor improvements to connected-providers-cache and utils Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- src/shared/model-requirements.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/shared/model-requirements.test.ts b/src/shared/model-requirements.test.ts index c325f3af..db68938e 100644 --- a/src/shared/model-requirements.test.ts +++ b/src/shared/model-requirements.test.ts @@ -141,19 +141,19 @@ describe("AGENT_MODEL_REQUIREMENTS", () => { expect(primary.providers[0]).toBe("openai") }) - test("atlas has valid fallbackChain with claude-sonnet-4-5 as primary", () => { + test("atlas has valid fallbackChain with k2p5 as primary (kimi-for-coding prioritized)", () => { // #given - atlas agent requirement const atlas = AGENT_MODEL_REQUIREMENTS["atlas"] // #when - accessing Atlas requirement - // #then - fallbackChain exists with claude-sonnet-4-5 as first entry + // #then - fallbackChain exists with k2p5 as first entry (kimi-for-coding prioritized) expect(atlas).toBeDefined() expect(atlas.fallbackChain).toBeArray() expect(atlas.fallbackChain.length).toBeGreaterThan(0) const primary = atlas.fallbackChain[0] - expect(primary.model).toBe("claude-sonnet-4-5") - expect(primary.providers[0]).toBe("anthropic") + expect(primary.model).toBe("k2p5") + expect(primary.providers[0]).toBe("kimi-for-coding") }) test("all 9 builtin agents have valid fallbackChain arrays", () => {