mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-07-02 04:06:12 +08:00
switch azure openai api version to stable version (#640)
This commit is contained in:
@@ -24,7 +24,7 @@ export async function generateAnswersWithAzureOpenaiApi(port, question, session)
|
||||
await fetchSSE(
|
||||
`${config.azureEndpoint.replace(/\/$/, '')}/openai/deployments/${
|
||||
config.azureDeploymentName
|
||||
}/chat/completions?api-version=2023-03-15-preview`,
|
||||
}/chat/completions?api-version=2023-05-15`,
|
||||
{
|
||||
method: 'POST',
|
||||
signal: controller.signal,
|
||||
|
||||
Reference in New Issue
Block a user