feat(core): ai images (#6506)

This commit is contained in:
fundon
2024-04-12 03:58:32 +00:00
parent 1697cd76fe
commit 13b39fc5f3
4 changed files with 292 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ export class OpenAIProvider
.filter(url => SIMPLE_IMAGE_URL_REGEX.test(url))
.map(url => ({
type: 'image_url',
image_url: { url, detail: 'low' },
image_url: { url, detail: 'high' },
})),
];
return {