mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-27 21:56:38 +08:00
Update openai.ts
This commit is contained in:
parent
1c15eb7dc9
commit
1c4970b5bc
@ -99,7 +99,7 @@ export class ChatGPTApi implements LLMApi {
|
||||
// const apiPath = isAzure ? ApiPath.Azure : ApiPath.OpenAI;
|
||||
// baseUrl = isApp ? OPENAI_BASE_URL : apiPath;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
if (baseUrl.endsWith("/")) {
|
||||
baseUrl = baseUrl.slice(0, baseUrl.length - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user