diff --git a/app/client/platforms/openai.ts b/app/client/platforms/openai.ts index 6c47cb834..7617dda1c 100644 --- a/app/client/platforms/openai.ts +++ b/app/client/platforms/openai.ts @@ -102,7 +102,7 @@ export class ChatGPTApi implements LLMApi { baseUrl = accessStore.azureUrl; } else { const apiPath = ApiPath.Azure; - baseUrl = apiPath; + baseUrl = accessStore.azureUrl; // const apiPath = isAzure ? ApiPath.Azure : ApiPath.OpenAI; // baseUrl = isApp ? OPENAI_BASE_URL : apiPath; }