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) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user