u
This commit is contained in:
@@ -381,7 +381,10 @@ export function createAnalyzeImageTool({ googleAuthId, model }) {
|
||||
role: 'user',
|
||||
content: [
|
||||
{ type: 'text', text },
|
||||
{ type: 'image_url', imageUrl: { url: `data:image/webp;base64,${webp.toString('base64')}` } },
|
||||
{
|
||||
type: 'image_url',
|
||||
image_url: { url: `data:image/webp;base64,${webp.toString('base64')}` },
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user