test: stabilize breaking-change expectations for doctor, tools, and model reset

This commit is contained in:
William Valentin
2026-02-23 20:46:58 -08:00
parent b1b59ef25d
commit c4f5dfb52f
3 changed files with 13 additions and 4 deletions
+2 -2
View File
@@ -160,7 +160,7 @@ describe('createAgentHandlers command fast-path', () => {
modelRouter: modelRouter as unknown as AgentHandlerDeps['modelRouter'],
runtimeConfig: {
models: {
default: { provider: 'anthropic', model: 'claude-sonnet-4' },
default: { provider: 'anthropic', model: 'claude-sonnet-4', api_key: 'test-anthropic-key' },
fallback_chain: [],
},
} as unknown as AgentHandlerDeps['runtimeConfig'],
@@ -198,7 +198,7 @@ describe('createAgentHandlers command fast-path', () => {
modelRouter: modelRouter as unknown as AgentHandlerDeps['modelRouter'],
runtimeConfig: {
models: {
default: { provider: 'anthropic', model: 'claude-sonnet-4' },
default: { provider: 'anthropic', model: 'claude-sonnet-4', api_key: 'test-anthropic-key' },
fallback_chain: [],
},
} as unknown as AgentHandlerDeps['runtimeConfig'],