Skip to content

Commit

Permalink
fix(openai): fix gpt-4-vision-preview deprecation error
Browse files Browse the repository at this point in the history
  • Loading branch information
kishanprmr committed Aug 12, 2024
1 parent 12845a6 commit e7dea87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/pieces/community/openai/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@activepieces/piece-openai",
"version": "0.3.25"
}
"version": "0.4.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const visionPrompt = createAction({
});

const completion = await openai.chat.completions.create({
model: 'gpt-4-vision-preview',
model: 'gpt-4o',
messages: [
...roles,
{
Expand Down

0 comments on commit e7dea87

Please sign in to comment.