Update openai.ts

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

View File

@ -102,7 +102,7 @@ export class ChatGPTApi implements LLMApi {
baseUrl = accessStore.azureUrl; baseUrl = accessStore.azureUrl;
} else { } else {
const apiPath = ApiPath.Azure; const apiPath = ApiPath.Azure;
baseUrl = apiPath; baseUrl = accessStore.azureUrl;
// const apiPath = isAzure ? ApiPath.Azure : ApiPath.OpenAI; // const apiPath = isAzure ? ApiPath.Azure : ApiPath.OpenAI;
// baseUrl = isApp ? OPENAI_BASE_URL : apiPath; // baseUrl = isApp ? OPENAI_BASE_URL : apiPath;
} }