|
|
@@ -2174,10 +2174,10 @@ describe('plugin registration and config', () => {
|
|
|
// only the request itself needs a key.
|
|
|
expect(ctx.llm.listProviders()).toEqual([{ id: 'deepseek-official', name: 'DeepSeek' }])
|
|
|
await expect(ctx.llm.listModels('deepseek-official')).resolves.toHaveLength(2)
|
|
|
- const first = await assemble(ctx, { model: 'deepseek-v4-flash', messages: [] })
|
|
|
+ const first = await assemble(ctx, { model: 'deepseek-flash', messages: [] })
|
|
|
expect(first.finish).toMatchObject({ kind: 'error', failure: { code: 'MISSING_CREDENTIAL' } })
|
|
|
// The guidance leads with the managed credential store.
|
|
|
- const second = await assemble(ctx, { model: 'deepseek-v4-flash', messages: [] })
|
|
|
+ const second = await assemble(ctx, { model: 'deepseek-flash', messages: [] })
|
|
|
expect(second.finish.kind).toBe('error')
|
|
|
if (second.finish.kind !== 'error') throw new Error('expected an error finish')
|
|
|
// The guidance names both places a credential can come from, and nothing
|