Skip to content

Commit f74f54b

Browse files
committed
Replacing deprecated 'gpt-4-vision-preview'
1 parent b463601 commit f74f54b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/openai/actions/analyze-image-content/analyze-image-content.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default {
4444
const { id: assistantId } = await this.openai.createAssistant({
4545
$,
4646
data: {
47-
model: "gpt-4-vision-preview",
47+
model: "gpt-4o", // replaced from "gpt-4-vision-preview" - see https://platform.openai.com/docs/deprecations
4848
},
4949
});
5050

0 commit comments

Comments
 (0)