Skip to content

Commit 2d3f7c9

Browse files
committed
fix: vision model dalle3
1 parent d66bfc6 commit 2d3f7c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ export function isVisionModel(model: string) {
266266
model.includes("gpt-4-turbo") && !model.includes("preview");
267267

268268
return (
269-
visionKeywords.some((keyword) => model.includes(keyword)) || isGpt4Turbo
269+
visionKeywords.some((keyword) => model.includes(keyword)) ||
270+
isGpt4Turbo ||
271+
isDalle3(model)
270272
);
271273
}
272274

0 commit comments

Comments
 (0)