From bfb21256a5932296d1bdfc7de91dee9931bae712 Mon Sep 17 00:00:00 2001 From: Richard C Lim <61879224+richardclim@users.noreply.github.com> Date: Sat, 1 Feb 2025 20:34:39 -0500 Subject: [PATCH] Update openai.ts --- app/client/platforms/openai.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/client/platforms/openai.ts b/app/client/platforms/openai.ts index 1a1d366d0..6c47cb834 100644 --- a/app/client/platforms/openai.ts +++ b/app/client/platforms/openai.ts @@ -101,8 +101,10 @@ export class ChatGPTApi implements LLMApi { if (isAIFoundation) { baseUrl = accessStore.azureUrl; } else { - const apiPath = isAzure ? ApiPath.Azure : ApiPath.OpenAI; - baseUrl = isApp ? OPENAI_BASE_URL : apiPath; + const apiPath = ApiPath.Azure; + baseUrl = apiPath; + // const apiPath = isAzure ? ApiPath.Azure : ApiPath.OpenAI; + // baseUrl = isApp ? OPENAI_BASE_URL : apiPath; } }