Update openai.ts

This commit is contained in:
Richard C Lim 2025-02-01 20:34:39 -05:00 committed by GitHub
parent 90c971da5c
commit bfb21256a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}
}