matthoffner commited on
Commit
eb8b7c0
β€’
1 Parent(s): fd598d8

Update app/api/chat/route.ts

Browse files
Files changed (1) hide show
  1. app/api/chat/route.ts +1 -1
app/api/chat/route.ts CHANGED
@@ -25,7 +25,7 @@ export async function POST(req: Request) {
25
  const { messages, function_call } = await req.json()
26
 
27
  const response = await openai.chat.completions.create({
28
- model: 'gpt-3.5-turbo',
29
  stream: true,
30
  messages,
31
  functions,
 
25
  const { messages, function_call } = await req.json()
26
 
27
  const response = await openai.chat.completions.create({
28
+ model: 'gpt-4o',
29
  stream: true,
30
  messages,
31
  functions,