Skip to content

Commit

Permalink
upgrade model
Browse files Browse the repository at this point in the history
  • Loading branch information
berkingurcan committed Sep 26, 2024
1 parent 50fef62 commit 1fda1a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/api/chat/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export async function POST(req: Request) {
});
}

model = 'gpt-4-turbo'
model = 'gpt-4o'
} else {
configuration = {
apiKey: process.env.OPENAI_API_KEY
Expand Down Expand Up @@ -131,7 +131,7 @@ export async function POST(req: Request) {
});
}

model = 'gpt-4-turbo'
model = 'gpt-4o'
}

const openai = new OpenAI(configuration)
Expand Down

0 comments on commit 1fda1a9

Please sign in to comment.