fix: vision model dalle3

This commit is contained in:
Dogtiti 2024-10-16 15:17:08 +08:00
parent d66bfc6352
commit 2d3f7c922f

View File

@ -266,7 +266,9 @@ export function isVisionModel(model: string) {
model.includes("gpt-4-turbo") && !model.includes("preview");
return (
visionKeywords.some((keyword) => model.includes(keyword)) || isGpt4Turbo
visionKeywords.some((keyword) => model.includes(keyword)) ||
isGpt4Turbo ||
isDalle3(model)
);
}