mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
test(apiproxy): follow the defaultModelSelection rename in the preset spec
The agent-default-model refactor renamed ApiProxyDefaults.defaultTarget to defaultModelSelection; this stack-owned spec merged without textual conflict and kept the old field, so its harness built a defaults object whose selection thunk was undefined and every create answered internal.
This commit is contained in:
@@ -109,7 +109,7 @@ async function harness(presets?: readonly string[], persistence?: unknown) {
|
||||
}
|
||||
ctx.agents.setFactory(factory)
|
||||
const api = createApiProxy(ctx, {
|
||||
defaultTarget: () => ({ provider: 'test', model: 'test-model' }),
|
||||
defaultModelSelection: () => ({ provider: 'test', model: 'test-model' }),
|
||||
cwd,
|
||||
workspaceRoot: cwd,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user