From 5b439dfe559796ae99536a8f4778dfca07962b41 Mon Sep 17 00:00:00 2001 From: can1357 Date: Thu, 25 Jun 2026 12:44:49 +0200 Subject: [PATCH] test(coding-agent): updated model selection test settings - Enabled anthropic models in the isolated settings for the session creation test to ensure correct configuration. --- packages/coding-agent/test/sdk-model-selection.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/coding-agent/test/sdk-model-selection.test.ts b/packages/coding-agent/test/sdk-model-selection.test.ts index af792bacb..f673ff6ef 100644 --- a/packages/coding-agent/test/sdk-model-selection.test.ts +++ b/packages/coding-agent/test/sdk-model-selection.test.ts @@ -269,7 +269,7 @@ describe("createAgentSession deferred model pattern resolution", () => { authStorage.setRuntimeApiKey("anthropic", "test-key"); const modelRegistry = new ModelRegistry(authStorage, path.join(tempDir, "models.yml")); // No `default` model role configured: forces the step-4 startup fallback. - const settings = Settings.isolated(); + const settings = Settings.isolated({ enabledModels: ["anthropic/*"] }); const { session } = await createAgentSession({ cwd: tempDir,