Update openai.ts

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

View File

@ -92,7 +92,8 @@ export class ChatGPTApi implements LLMApi {
"incomplete azure config, please check it in your settings page", "incomplete azure config, please check it in your settings page",
); );
} }
baseUrl = isAzure ? accessStore.azureUrl : accessStore.openaiUrl; baseUrl = accessStore.azureUrl;
// baseUrl = isAzure ? accessStore.azureUrl : accessStore.openaiUrl;
if (baseUrl.length === 0) { if (baseUrl.length === 0) {
const isApp = !!getClientConfig()?.isApp; const isApp = !!getClientConfig()?.isApp;