matthoffner commited on
Commit
b6fedb1
β€’
1 Parent(s): 9684fe8

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
@@ -23,7 +23,7 @@ export async function POST(req: Request) {
23
  const { messages, function_call } = await req.json()
24
 
25
  const response = await openai.createChatCompletion({
26
- model: 'gpt-3.5-turbo-1106',
27
  stream: true,
28
  messages,
29
  functions,
 
23
  const { messages, function_call } = await req.json()
24
 
25
  const response = await openai.createChatCompletion({
26
+ model: 'gpt-4',
27
  stream: true,
28
  messages,
29
  functions,