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
bfb21256a5
commit
3848d8bd3b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user