test(deepseek): print vision failure facts
This commit is contained in:
parent
703ce4a3d6
commit
0c9a664223
1 changed files with 4 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue