From 44551e456b7acc3b9f231575d1107727e94758a4 Mon Sep 17 00:00:00 2001 From: zaidmukaddam Date: Tue, 3 Sep 2024 14:55:48 +0530 Subject: [PATCH] feat: Update Azure chat model to use "gpt4o-mini" instead of "gpt-4o-mini" --- app/api/chat/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/chat/route.ts b/app/api/chat/route.ts index 3775cb0..1a3dff4 100644 --- a/app/api/chat/route.ts +++ b/app/api/chat/route.ts @@ -41,7 +41,7 @@ export async function POST(req: Request) { let model; if (provider === "azure") { - model = azure.chat("gpt-4o-mini"); + model = azure.chat("gpt4o-mini"); } else if (provider === "openai") { model = openai.chat("gpt-4o-mini"); } else {