Skip to content

Commit

Permalink
Merge pull request #77 from MinaFoundation/update-openai-model
Browse files Browse the repository at this point in the history
update openai model to 4o-mini
  • Loading branch information
johnmarcou authored Oct 1, 2024
2 parents a9b1441 + 13d0dd4 commit b500343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/gptClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const gpt = async (apikey, system, user, maxTries = 5) => {
{ role: "user", content: user },
],

model: "gpt-4-turbo",
model: "gpt-4o-mini",
response_format: { type: "json_object" },
});
const { finish_reason, message } = completion.choices[0];
Expand Down

0 comments on commit b500343

Please sign in to comment.