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) {
|
if (isAIFoundation) {
|
||||||
baseUrl = accessStore.azureUrl;
|
baseUrl = accessStore.azureUrl;
|
||||||
} else {
|
} else {
|
||||||
const apiPath = isAzure ? ApiPath.Azure : ApiPath.OpenAI;
|
const apiPath = ApiPath.Azure;
|
||||||
baseUrl = isApp ? OPENAI_BASE_URL : apiPath;
|
baseUrl = apiPath;
|
||||||
|
// const apiPath = isAzure ? ApiPath.Azure : ApiPath.OpenAI;
|
||||||
|
// baseUrl = isApp ? OPENAI_BASE_URL : apiPath;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user