test(coding-agent): updated model selection test settings

- Enabled anthropic models in the isolated settings for the session creation test to ensure correct configuration.
This commit is contained in:
can1357
2026-06-25 12:44:49 +02:00
parent abdfcf8ac7
commit 5b439dfe55
@@ -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,