test(deepseek): print vision failure facts

This commit is contained in:
creatixchu committed 2026-08-21 15:06:11 +08:00
1 parent 703ce4a3d6
commit 0c9a664223
1 file changed
+4 -1
@@ -178,7 +178,10 @@ describe.skipIf(!process.env.DEEPSEEK_API_KEY)('llm-deepseek e2e (real API)', ()
})],
maxTokens: 100,
})
expect(result.finish).toMatchObject({ kind: 'stop' })
expect(
result.finish.kind,
`DeepSeek vision result: ${JSON.stringify(result.finish)}`,
).toBe('stop')
expect(textOf(result).trim().length).toBeGreaterThan(0)
expect(uploadedFile).toMatch(/^file-api-/u)
} finally {