mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-18 15:03:43 +08:00
Update openai.ts
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user