test(llm): retain unsupported-image coverage after catalog upgrade
This commit is contained in:
1 parent
6ed596f71b
commit
082404a7b6
1 file changed
+5
-2
@@ -911,12 +911,15 @@ describe('provider profile lifecycle', () => {
|
||||
|
||||
await expect(drain({
|
||||
provider: 'deepseek',
|
||||
model: 'deepseek-flash',
|
||||
model: 'deepseek-v4-pro',
|
||||
messages: [createUserMessage({
|
||||
content: [{ type: 'image', attachment: IMAGE_REF }],
|
||||
source: { kind: 'model', provider: 'deepseek-official', model: 'deepseek-v4-flash' },
|
||||
})],
|
||||
})).rejects.toMatchObject({ code: 'UNSUPPORTED_CONTENT' })
|
||||
})).rejects.toMatchObject({
|
||||
code: 'UNSUPPORTED_CONTENT',
|
||||
message: 'pi-ai model "deepseek-v4-pro" does not support image input',
|
||||
})
|
||||
await expect(drain({
|
||||
provider: 'openai',
|
||||
model: 'gpt-4.1',
|
||||
|
||||
Reference in new issue
Block a user