mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-27 21:56:38 +08:00
Update constant.ts
This commit is contained in:
parent
257eb32e01
commit
d065ce0519
@ -174,11 +174,11 @@ export const OpenaiPath = {
|
||||
};
|
||||
|
||||
export const Azure = {
|
||||
ChatPath: (deployName: string) =>
|
||||
ChatPath: (deployName: string, apiVersion: string) =>
|
||||
`chat/completions`,
|
||||
// https://<your_resource_name>.openai.azure.com/openai/deployments/<your_deployment_name>/images/generations?api-version=<api_version>
|
||||
ImagePath: (deployName: string) =>
|
||||
`deployments/${deployName}/images/generations`,
|
||||
ImagePath: (deployName: string, apiVersion: string) =>
|
||||
`deployments/${deployName}/images/generations?api-version=${apiVersion}`,
|
||||
ExampleEndpoint: "https://{resource-url}",
|
||||
};
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user