From a756631472bd2bab602c78590756c54f04ec3368 Mon Sep 17 00:00:00 2001 From: ruisantiago Date: Thu, 29 Feb 2024 16:34:00 +0000 Subject: [PATCH] rm wrong key --- ai-chat/src/app/api/chat-completion/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai-chat/src/app/api/chat-completion/route.ts b/ai-chat/src/app/api/chat-completion/route.ts index b489e97..876624d 100644 --- a/ai-chat/src/app/api/chat-completion/route.ts +++ b/ai-chat/src/app/api/chat-completion/route.ts @@ -12,7 +12,7 @@ export async function POST(req: Request) { method: "POST", headers: { "Content-Type": "application/json", - Authorization: `Bearer ${process.env.MB_API_KEY || 'your-key'}`, + Authorization: `Bearer ${process.env.MB_API_KEY || 'hey'}`, }, body: JSON.stringify({ model: "openai/gpt-4-1106-preview",