From a55b08233f34ccfdb38943fbeea10feb2cd073b5 Mon Sep 17 00:00:00 2001 From: Tianyi Cui <53024+tianyicui@users.noreply.github.com> Date: Wed, 16 Sep 2026 11:39:32 +0800 Subject: [PATCH] test(llm): point the keyless onboarding case at a listed model The case verifies first-boot catalog browsing and an actionable MISSING_CREDENTIAL, so it follows the default catalog instead of an unlisted id whose route only proves pass-through. --- packages/llm/llm-deepseek/tests/adapter.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/llm/llm-deepseek/tests/adapter.spec.ts b/packages/llm/llm-deepseek/tests/adapter.spec.ts index 690c9fb5b2..767c0d5c73 100644 --- a/packages/llm/llm-deepseek/tests/adapter.spec.ts +++ b/packages/llm/llm-deepseek/tests/adapter.spec.ts @@ -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