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