mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 22:13:47 +08:00
Update openai.ts
This commit is contained in:
@@ -99,7 +99,7 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
// 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;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
if (baseUrl.endsWith("/")) {
|
if (baseUrl.endsWith("/")) {
|
||||||
baseUrl = baseUrl.slice(0, baseUrl.length - 1);
|
baseUrl = baseUrl.slice(0, baseUrl.length - 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user