Spaces:
Paused
Paused
matthoffner
commited on
Commit
β’
110c969
1
Parent(s):
493dea3
Update src/app/api/chat/route.ts
Browse files
src/app/api/chat/route.ts
CHANGED
@@ -16,7 +16,7 @@ export async function POST(req: Request) {
|
|
16 |
const lastMessage = messages[messages.length - 1]?.content || 'No message found';
|
17 |
|
18 |
const response = await openai.chat.completions.create({
|
19 |
-
model: "gpt-
|
20 |
stream: true,
|
21 |
messages: [
|
22 |
{
|
|
|
16 |
const lastMessage = messages[messages.length - 1]?.content || 'No message found';
|
17 |
|
18 |
const response = await openai.chat.completions.create({
|
19 |
+
model: "gpt-4o-mini",
|
20 |
stream: true,
|
21 |
messages: [
|
22 |
{
|