Skip to content

Commit c83e84f

Browse files
PeterDaveHellojosStorer
authored andcommitted
Update Azure OpenAI API version version to 2024-02-01
This API version is the replacement for the previous 2023-05-15 GA API release. Reference: - https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation#latest-ga-api-release
1 parent c91893e commit c83e84f

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-05-15`,
27+
}/chat/completions?api-version=2024-02-01`,
2828
{
2929
method: 'POST',
3030
signal: controller.signal,

0 commit comments

Comments
 (0)