From e979421c8eac216605bf3453e8c1e5e1f66d68bf Mon Sep 17 00:00:00 2001 From: Richard C Lim <61879224+richardclim@users.noreply.github.com> Date: Sat, 1 Feb 2025 03:23:26 -0500 Subject: [PATCH] Update common.ts --- app/api/common.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/app/api/common.ts b/app/api/common.ts index a5ab2a3de..51f520a71 100644 --- a/app/api/common.ts +++ b/app/api/common.ts @@ -55,7 +55,6 @@ export async function requestOpenai(req: NextRequest) { if (isAIFoundation && serverConfig.azureUrl) { // For AI Foundation, use the path directly without api-version baseUrl = serverConfig.azureUrl; - path = "chat/completions"; // path = req.nextUrl.pathname.replaceAll("/api/azure/", ""); } else { const azureApiVersion =