matthoffner commited on
Commit
6b5bed6
β€’
1 Parent(s): d87145a

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