matthoffner commited on
Commit
d446a2d
β€’
1 Parent(s): 4e2f92f

Use turbo model

Browse files
Files changed (1) hide show
  1. app/api/chat/route.ts +1 -1
app/api/chat/route.ts CHANGED
@@ -20,7 +20,7 @@ export async function POST(req: Request) {
20
  const { messages, function_call } = await req.json()
21
 
22
  const response = await openai.createChatCompletion({
23
- model: 'gpt-4',
24
  stream: true,
25
  messages,
26
  functions,
 
20
  const { messages, function_call } = await req.json()
21
 
22
  const response = await openai.createChatCompletion({
23
+ model: 'gpt-4-1106-preview',
24
  stream: true,
25
  messages,
26
  functions,