diff --git a/app/constant.ts b/app/constant.ts index 5e7a53d3c..bbbe56c0c 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -175,7 +175,7 @@ export const OpenaiPath = { export const Azure = { ChatPath: (deployName: string, apiVersion: string) => { - return `${ExampleEndpoint}/chat/completions`; + return `${this.ExampleEndpoint}/chat/completions`; }, // https://.openai.azure.com/openai/deployments//images/generations?api-version= ImagePath: (deployName: string, apiVersion: string) =>