matthoffner commited on
Commit
110c969
β€’
1 Parent(s): 493dea3

Update src/app/api/chat/route.ts

Browse files
Files changed (1) hide show
  1. src/app/api/chat/route.ts +1 -1
src/app/api/chat/route.ts CHANGED
@@ -16,7 +16,7 @@ export async function POST(req: Request) {
16
  const lastMessage = messages[messages.length - 1]?.content || 'No message found';
17
 
18
  const response = await openai.chat.completions.create({
19
- model: "gpt-3.5-turbo-1106",
20
  stream: true,
21
  messages: [
22
  {
 
16
  const lastMessage = messages[messages.length - 1]?.content || 'No message found';
17
 
18
  const response = await openai.chat.completions.create({
19
+ model: "gpt-4o-mini",
20
  stream: true,
21
  messages: [
22
  {