Spaces:
Running
Running
matthoffner
commited on
Commit
β’
eb8b7c0
1
Parent(s):
fd598d8
Update app/api/chat/route.ts
Browse files- 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-
|
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,
|