feat: move from gpt3.5 to gpt-4o

This commit is contained in:
Rotimi Best
2024-05-15 23:49:51 +01:00
parent ab815cadec
commit 78db68fa51
4 changed files with 4 additions and 4 deletions
@@ -24,7 +24,7 @@ export async function POST({ request }) {
const { courseTitle, lessonTitle, type, locale } = JSON.parse(prompt);
const response = await openai.createChatCompletion({
model: 'gpt-3.5-turbo',
model: 'gpt-4o',
messages: [
{
role: 'system',