Spaces:
Running
Running
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-mini',
|
29 |
stream: true,
|
30 |
messages,
|
31 |
functions,
|