Skip to content

Commit c4a537f

Browse files
committed
switch azure openai api version to stable version (#640)
1 parent 985adb9 commit c4a537f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/apis/azure-openai-api.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export async function generateAnswersWithAzureOpenaiApi(port, question, session)
2424
await fetchSSE(
2525
`${config.azureEndpoint.replace(/\/$/, '')}/openai/deployments/${
2626
config.azureDeploymentName
27-
}/chat/completions?api-version=2023-03-15-preview`,
27+
}/chat/completions?api-version=2023-05-15`,
2828
{
2929
method: 'POST',
3030
signal: controller.signal,

0 commit comments

Comments
 (0)