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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user