mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-28 06:06:38 +08:00
Update openai.ts
This commit is contained in:
parent
90c971da5c
commit
bfb21256a5
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user