|
|
@@ -98,7 +98,7 @@ export class ChatGPTApi implements LLMApi {
|
|
|
if (baseUrl.length === 0) {
|
|
|
const isApp = !!getClientConfig()?.isApp;
|
|
|
const apiPath = isAzure ? ApiPath.Azure : ApiPath.OpenAI;
|
|
|
- baseUrl = isApp ? OPENAI_BASE_URL + apiPath : apiPath;
|
|
|
+ baseUrl = isApp ? OPENAI_BASE_URL : apiPath;
|
|
|
}
|
|
|
|
|
|
if (baseUrl.endsWith("/")) {
|